Ultra TC Editors 6.42 Final

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Ultra TC Editor RC3 released

the most important is fixing bugs was prevent applying XP style to the programs by using manifest file
if you couldn't run any editor and recieved an error message like "System error xxx" then you have to delete the manifest file for this editor
for example if Configuration Editor doesn't start properly then delete the file "Configuration Editor.exe.manifest"
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Ultra TC Editor RC4 released

there are some hot fixes:
[-] Quick Launch was not show localized tips!
[-] (all editors) the tabs in options dialog box was use different font!
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ts4242

When using the Hotkeys Editor to export default hotkeys to Main Menu, two items are not exported:

Code: Select all

523=Ctrl + A = Ctrl + Num +
610=F1
If I change

Code: Select all

523=Ctrl + A = Ctrl + Num +
to for example

Code: Select all

523=Ctrl + Num +
it works.


I can't export 610=F1 in any way.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2>petermad
Cannot confirm! also cannot predict the reason.

try to use the default "tc default hotkeys.hky" if you changed it
also try to create a menu file contains only

Code: Select all

POPUP "Test"
    MENUITEM "Select all", 523
    MENUITEM "Help index", 610
END_POPUP
then use Hotkeys Editor to export default hotkeys to it
if not work, try to use fresh "ultra tc editors.ini"
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2ts4242

OK - it took me a long time to figure out.

It seems that 610=F1 doesn't work when UseIniInProgramDir is different from 0.

It seems that 523=Ctrl + A = Ctrl + Num + doesn't work when Ctrl+A is redefined.

So try and use these settings in your wincmd.ini:

[Configuration]
UseIniInProgramDir=7

[Shortcuts]
C+A=cm_SetAttrib

and remember to copy your wincmd.ini to TC 's programdir.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

the reason for not exporting "Num + +" is that, when you assigned Ctrl+A to cm_SetAttrib, the default hotkey for cm_SelectAll is marked by Red color so when exporting to main menu, the program completely ignor the default column content
currently if the default hotkey column contains two values and one of them assigned to other command, i don't do a check to see if the second value can be exported or not!!! maybe in the future!

about F1 i don't use "UseIniInProgramDir" in my programs as i always retrive TC ini from %Commander_ini% if present, if not i retrive it from the registry. So what can imagine is that, you run Hotkeys Editor from outside TC so %Commander_ini% is not present so Hotkeys Editor get TC ini from the registry and as a result for this Hotkeys Editor may exporting to different menu file not what you expected
I will consider using "UseIniInProgramDir" to retrive TC ini
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

when you assigned Ctrl+A to cm_SetAttrib, the default hotkey for cm_SelectAll is marked by Red color so when exporting to main menu, the program completely ignor the default column content currently if the default hotkey column contains two values and one of them assigned to other command, i don't do a check to see if the second value can be exported or not!!! maybe in the future!
Thank you, that explains it.

It also explains why the F1 hotkey export didn't work. I had F1 redifined for an em_ command placed in usercmd.ini (in the TC program directory), and when I removed UseIniInProgramDir the windows.ini file in c:\windows was used, but since I don't have a usercmd.ini in c:\windows the F1 hotkey export worked again.

But IMHO: If I choose to export ONLY Default hotkeys, I expect the default hotkeys to be exported also for redifined hotkeys. If I choose to export BOTH Default hotkeys AND Current hotkeys, I expect both kinds to be exported, but I also expect that redifined hotkeys are removed from the Default list.

Example:
F1 is redifined to cm_list

1. Only export of Default hotkeys is chosen: F1 is exported as belonging to cm_HelpIndex

2. Both export of Default hotkeys and Current hotkeys is chosen: F1 is exported as belonging to cm_list, but not to cm_HelpIndex
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

about commands that has more than one default hotkeys, I can now exporting hotkeys that are not re-defined :)
1. Only export of Default hotkeys is chosen: F1 is exported as belonging to cm_HelpIndex
the purpose of exporting hotkeys is to make the menu file reflect the correct hotkeys map, So this will be wrong because when you load your menu you will see F1 beside Help menu item but if you pressed F1 another command will executed :roll:
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

the purpose of exporting hotkeys is to make the menu file reflect the correct hotkeys map, So this will be wrong because when you load your menu you will see F1 beside Help menu item but if you pressed F1 another command will executed
But, I would like to obtain that only when marking both default and current hotkeys for export.

I can appreciate your argument, bot it is just not the way I use the tool. I mostly make menus for distribution, and for that I only need default hotkeys in the menu, since I don't know the users redefínitions of their hotkeys. But I would like all the default hotkeys in those menus.

I use Ultra TC Editors more as a tool for developing menu systems, rather than a tweak tool for my personal settings.

Maybe it could be implemented as an option, that when only default hotkeys are chosen for export, then all default hotkeys are exported

I think I was mistaken about how it works because you use the phrase "Current hotkeys" - IMO he word Current indicates that the export includes both default + redifined + new hotkey combinations = everything that currently works, but as it is implemented it only means redifined + new hotkeys - that was not what I expected. Maybe "Current" should be changed to "User defined"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3378
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA »

petermad wrote:I use Ultra TC Editors more as a tool for developing menu systems, rather than a tweak tool for my personal settings.

Maybe it could be implemented as an option, that when only default hotkeys are chosen for export, then all default hotkeys are exported
I'd like that too :!:
Hoecker sie sind raus!
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

petermad wrote:Maybe it could be implemented as an option, that when only default hotkeys are chosen for export, then all default hotkeys are exported
I'll see if this possible,
as workaround you can starting TC with special ini file when you are working with your public menus
petermad wrote:IMO he word Current indicates that the export includes both default + redifined + new hotkey combinations
if you return to Export to main menu dialog box, you will see the group box title is "Select columns to export:"
petermad wrote:Maybe "Current" should be changed to "User defined"
Well, i think you are right! user defined is more clear
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Alextp wrote:Created new page in Wiki:

http://www.ghisler.ch/wiki/index.php/Ultra_TC_Editors
Thanks!
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Ultra TC Editor RC5 released

What's new
========

Hotkeys Editor:
------------------
added: Two new options added to "Export to main menu" dialog box

Main Menu Editor:
----------------------
fixed: the category "Commands with parameters" was deleted when Customized Totalcmd.in file
User avatar
petermad
Power Member
Power Member
Posts: 16020
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

added: Two new options added to "Export to main menu" dialog box

Thanks :!: :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply