[TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Fla$her
Power Member
Power Member
Posts: 2247
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *Fla$her »

petermad wrote: 2023-05-25, 09:57 UTC OK, but does its still not work for you in TC 11.00b4?
Isn't the version number specified in my message? :roll:
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *petermad »

Fla$her wrote: 2023-05-25, 10:02 UTC Isn't the version number specified in my message? :roll:
Yes but it is also a little uncertain what "A+J:" means in that mesage, that is why I want you to confirm that A+J still refered to:

Code: Select all

[ShortcutsWin]
A+J=SAVETABS
A+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
An also since it works for me and not for you, it would be pertinent, to help figure out why that is so, by for example give info about OS and TC bitness. And maybe tell us if it also does not work for you with a fresh ini file.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2247
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *Fla$her »

2petermad
The author has already given an explanation. It's hard for me to say why it works for you and not for us.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *petermad »

I have now done some testing and it is a bit complex

I tested this setting:

Code: Select all

[Shortcuts]
A+J=SAVETABS
A+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
A+W=SAVETABS
A+W_params="%|COMMANDER_PATH|\Tabs\Current.tab"
CA+J=SAVETABS
CA+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
CAS+J=SAVETABS
CAS+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
AS+J=SAVETABS
AS+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
C+W=SAVETABS
C+W_params="%|COMMANDER_PATH|\Tabs\Current.tab"
AS+W=SAVETABS
AS+W_params="%|COMMANDER_PATH|\Tabs\Current.tab"
A+F1=SAVETABS
A+F1_params="%|COMMANDER_PATH|\Tabs\Current.tab"

[ShortcutsWin]
A+J=SAVETABS
A+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
A+W=SAVETABS
A+W_params="%|COMMANDER_PATH|\Tabs\Current.tab"
CA+J=SAVETABS
CA+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
CAS+J=SAVETABS
CAS+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
AS+J=SAVETABS
AS+J_params="%|COMMANDER_PATH|\Tabs\Current.tab"
C+W=SAVETABS
C+W_params="%|COMMANDER_PATH|\Tabs\Current.tab"
AS+W=SAVETABS
AS+W_params="%|COMMANDER_PATH|\Tabs\Current.tab"
A+F1=SAVETABS
A+F1_params="%|COMMANDER_PATH|\Tabs\Current.tab"
Under Windows 7:
In 64bit TC all of the shortcuts work
IN 32bit TC I get the "Function not implemented" error for all the A+ shotrtcuts, but not for the C+ shortcuts.

Under Windows 10:
In 64bit TC all of the shortcuts work
IN 32bit TC I get the "Function not implemented" error for all the A+ shotrtcuts, except for [ShortcutsWin] A+W - here the file is not saved, but I don't get any error message. All the the C+ shortcuts work.

All tested with a clean ini file except for [Shortcuts] and [ShortcutsWin] and WatchDirs=55.

EDIT
I tested a little more:
32bit TC:
AS+J and AS+W gives the "Function not implemented" error (also for [ShortcutsWin] AS+W), but CA+J and CAS+J works fine. No problems in 64bit TC

So if Alt is used without Ctrl but with or without Shift then we get the error in 32bit TC

Also tested with A+F1 - same problems in 32bit TC.
Last edited by petermad on 2023-05-25, 11:51 UTC, edited 7 times in total.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2247
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *Fla$her »

petermad wrote: 2023-05-25, 11:23 UTCIN 32bit TC I get the "Function not implemented" error for all the A+ shotrtcuts
Thanks for the tests and confirmation.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *petermad »

Fla$her wrote: 2023-05-25, 11:35 UTC Thanks for the tests and confirmation.
You are welcome :)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2247
Joined: 2020-01-18, 04:03 UTC

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *Fla$her »

ghisler(Author) wrote: 2023-05-18, 10:32 UTC Confirmed that no parameters work with Win hotkey when the command doesn't start with CM_ or EM_.
Fixed in TC 11.00 b5.
Overquoting is evil! 👎
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b3] Placeholders like %P%N in internal associations and user-defined hotkeys

Post by *petermad »

history.txt wrote:25.05.23 Fixed: Internal commands with parameters not working for hotkeys with Alt key (32/64)
Confirmed fixed in TC 11.00b5 :-)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply