We have already accumulated 70 internal commands that support parameters. Some of them are in demand exclusively when creating hotkeys. At the moment, this is only possible after creating custom em_ commands. It would be great to save time and space in usercmd.ini if there was support for parameters with an additional field on the Misc. page.Fla$her wrote: 2023-05-04, 15:18 UTC Or somehow add on the Misc. page the ability to specify an internal command along with a parameter. It would be even better, given the number of such commands.
✅ Support for parameters when binding commands to hotkeys
Moderators: Hacker, petermad, Stefan2, white
✅ Support for parameters when binding commands to hotkeys
Already wrote:
Last edited by Fla$her on 2023-10-19, 01:17 UTC, edited 2 times in total.
Overquoting is evil! 👎
Re: Support for parameters when binding commands to hotkeys
Support ++ if feasible - and also for the ability to use commands with parameters in the .mnu file
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
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
Re: Support for parameters when binding commands to hotkeys
Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Re: Support for parameters when binding commands to hotkeys
At last!05.05.23 Added: Hotkeys defined via Configuration - Options - Misc now support commands with parameters (32/64)
Overquoting is evil! 👎
Re: Support for parameters when binding commands to hotkeys
2petermad
Dont' you know the LANG new ID for this text resource? String "&Parameters:"?
Dont' you know the LANG new ID for this text resource? String "&Parameters:"?
#146217 personal license
Re: Support for parameters when binding commands to hotkeys
2AntonyD
5375="&Parameter:"
5375="&Parameter:"
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
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
Re: Support for parameters when binding commands to hotkeys
A little remark. In the list of currently defined hotkeys, the command with the parameter is shown twice in the line. For example, - > cm_EditNewFile cm_EditNewFile 1.
It is also desirable to make the Parameters field unavailable for commands that do not support parameters.
It is also desirable to make the Parameters field unavailable for commands that do not support parameters.
Re: Support for parameters when binding commands to hotkeys
I would treat it even as a bug((( - i mean current situation - when there is no such check.It is also desirable to make the Parameters field unavailable for commands that do not support parameters.
#146217 personal license
Re: Support for parameters when binding commands to hotkeys
Not only twice in the line but also in two lines: https://tcmd.madsenworld.dk/keywithpatameter.pngthe command with the parameter is shown twice in the line. For example, - > cm_EditNewFile cm_EditNewFile 1.
Support+++ if feasible.It is also desirable to make the Parameters field unavailable for commands that do not support parameters.
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
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
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Support for parameters when binding commands to hotkeys
Confirmed, thanks!the command with the parameter is shown twice in the line. For example, - > cm_EditNewFile cm_EditNewFile 1.
Seems to depend on the hotkey. I get it for F12 alone, but not for Ctrl+1.Not only twice in the line but also in two lines: https://tcmd.madsenworld.dk/keywithpatameter.png
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Support for parameters when binding commands to hotkeys
Then it was a lucky strike that it was F12 I tested it withSeems to depend on the hotkey. I get it for F12 alone

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
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
Re: Support for parameters when binding commands to hotkeys
Thanks!14.05.23 Fixed: Configuration - Options - Misc: Hotkeys with parameters were shown incorrectly with command name doubled, e.g. cm_exit cm_exit 1 (32/64)
Re: Support for parameters when binding commands to hotkeys
Yes, confirmed fixed in TC 11.00b3sa16 wrote: 2023-05-17, 19:03 UTCThanks!14.05.23 Fixed: Configuration - Options - Misc: Hotkeys with parameters were shown incorrectly with command name doubled, e.g. cm_exit cm_exit 1 (32/64)

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
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
Re: Support for parameters when binding commands to hotkeys
2ghisler(Author)
And what about the support of commands like LOADLIST[0], SAVETABS[2|L/R], etc.?
If you specify a path like "%COMMANDER_PATH%\Lists\test.txt", then writes an error or does nothing. Moreover, the quotes in the dialog are not displayed when the keys are selected again.
And what about the support of commands like LOADLIST[0], SAVETABS[2|L/R], etc.?
If you specify a path like "%COMMANDER_PATH%\Lists\test.txt", then writes an error or does nothing. Moreover, the quotes in the dialog are not displayed when the keys are selected again.
Overquoting is evil! 👎