Sir_SiLvA wrote: ↑2023-05-24, 19:02 UTC
on a button only works if "SAVETABS %COMMANDER_PATH%\Tabs\Current2.tab" is in cmdline with proper %Commander_path%.
on shortcut not at all
%|envvar| is only meant for the Parameter field, not for the Command field:
history.txt wrote:26.04.23 Added: Command line parameters (button bar, start menu): New parameter %|envvar| inserts environment variable envvar, e.g. %|windir| or %|$DESKTOP| in the parameter field (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Actually it's not the problem of the command (e.g. SAVETABS), but the problem of what modifiers you use for the hotkey!
Any hotkey with the Alt key modifier doesn't support parameters yet.
The reason is that any hotkey with Alt generates a WM_SYSKEYDOWN message, those without Alt generate WM_KEYDOWN messages.
Currently I'm only handling commands with parameters in WM_KEYDOWN. I will add support to WM_SYSKEYDOWN in beta 5.
Sorry for the confusion.
ghisler(Author) wrote: ↑2023-05-25, 09:39 UTC
The reason is that any hotkey with Alt generates a WM_SYSKEYDOWN message, those without Alt generate WM_KEYDOWN messages.
@ Fla$her I know reading is hard
petermad wrote:
%|envvar| is only meant for the Parameter field, not for the Command field:
I only used %Commander_Path% (as I dont see any sense to write it as %|Commander_Path| which is one more char as the original)
and THAT didnt work in ParamFields.
Fla$her wrote: ↑2023-05-25, 10:50 UTC
The hardness of reading has nothing to do with it. Pointing to one modifier doesn't exclude problems with the others...
For everyone when written like this, The reason is that any hotkey with Alt generates a WM_SYSKEYDOWN message, those without Alt generate WM_KEYDOWN messages.,
it clearly does exclude the other modifiers.
Sir_SiLvA wrote: ↑2023-05-25, 11:07 UTC
For everyone when written like this, ... it clearly does exclude the other modifiers.
Never speak for everyone. Your logic excludes what has not been confirmed by the author or tested by me in practice. If such a message occurs with Alt, it 100% does not mean that it will not occur with any other modifier.
I only used %Commander_Path% (as I dont see any sense to write it as %|Commander_Path| which is one more char as the original)
and THAT didnt work in ParamFields.
%Commander_Path% only works in Command field.
%|Commander_Path| only works in Parameters field
IF your Command if for example %COMSPEC% or a program that can resolve envars, you can use %%Commander_Path%% in the Parameters field.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Sir_SiLvA wrote: ↑2023-05-25, 11:52 UTC
You can throw yourself on the floor and claim you are special as much as you want
The ulcer does not give rest in any way? There are always some personal narratives and assaults.
Drink chamomile, calm your nerves. Everything will be fine.
But since you considered yourself adequate, stating that this is not the case, closing your eyes to my previous dialogues about coding (thank God, not with you) and the words "tested by me in practice", then it wasn't worth giving a link.
Is that explained anywhere in the help-file anywhere?
Not sure if this is the right question to ask. In the current realities, the question is more appropriate - why is there a difference between support here and there AT ALL? EVERYWHERE it should work the same way. Or do you want to say - somewhere there was not enough support for special characters and had to use others?