Suggestions about Redefine hotkeys: show the command Nr.

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
sky66
Member
Member
Posts: 176
Joined: 2014-02-22, 08:44 UTC

Suggestions about Redefine hotkeys: show the command Nr.

Post by *sky66 »

Yesterday, I spent some time trying to figure out what command a certain hotkey stands for.
In the end, I didn't find it, but I found it by searching for some keywords on the forum.
I also had to check if the new hotkey was already used by a default command.

My suggestion is that, maybe not now but in the next version, when Redefine hotkeys, it could show the command Nr.
Thanks.

For example, if the hotkey is set to Ctrl + PGDN, it currently shows:
Command: "Default command (no remapping)"

It could be changed to:
Command: "Default command 2003 (no remapping)"
Or an option that doesn't affect the translation:
Command: "2003 - Default command (no remapping)"

If the hotkey is not used by any default command, it would stay as:
"Default command (no remapping)"
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Suggestions about Redefine hotkeys

Post by *petermad »

Support++
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
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: Suggestions about Redefine hotkeys

Post by *JOUBE »

Maybe a lot of work of implementtion(?), but:

Support+
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Suggestions about Redefine hotkeys: show the command Nr.

Post by *ghisler(Author) »

Internal hotkeys are not assigned 1:1 to commands. The actual hotkey support is much broader than documented. For example, the official hotkey to open the left drive list is Alt+F1. However, only the Alt (must be pressed) and Ctrl (must not be pressed) modifiers are checked, Shift and Win keys are ignored. This has the advantage that people can use for example Alt+Shift+F1 when Alt+F1 doesn't work, like on Linux (with Wine) where Alt+F1 is already assigned system-wide.

Therefore it's unfortunately not possible to show what the current default is.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

Re: Suggestions about Redefine hotkeys: show the command Nr.

Post by *Usher »

ghisler(Author) wrote: 2024-12-11, 08:27 UTC Internal hotkeys are not assigned 1:1 to commands.
Are there any 1:1 assignments to show?
Andrzej P. Wozniak
Polish subforum moderator
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: Suggestions about Redefine hotkeys: show the command Nr.

Post by *AntonyD »

2ghisler(Author)
To be honest - the explanation is completely blurred and unclear.
Inside the Total code you still have to somehow maintain that user choice by hotkeys and command accustomed to them,
so they can be used. Including the default ones. I.e. the code basically knows ALL the variants of the link `hotkey=command`.
So why can’t these bundles be taken anywhere on forms?
#146217 personal license
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: Suggestions about Redefine hotkeys: show the command Nr.

Post by *JOUBE »

ghisler(Author) wrote: 2024-12-11, 08:27 UTC Internal hotkeys are not assigned 1:1 to commands. The actual hotkey support is much broader than documented. For example, the official hotkey to open the left drive list is Alt+F1. However, only the Alt (must be pressed) and Ctrl (must not be pressed) modifiers are checked, Shift and Win keys are ignored. This has the advantage that people can use for example Alt+Shift+F1 when Alt+F1 doesn't work, like on Linux (with Wine) where Alt+F1 is already assigned system-wide.

Therefore it's unfortunately not possible to show what the current default is.
As I wrote, a lot of work, but very (, very!) useful for the users (and also - maybe - for you, for documentation purposes).

It also doesn't have to be completely comprehensive and cover everything. (Although that might be a problem with the current regulars at the forum ;-) )

In any case, I have missed it quite a few times.

As the OP wrote, maybe you think about it for a version in the future.

It shouldn't be too difficult for the normal hotkeys, right?
Post Reply