Config: Misc: Redefine Hotkeys (Default Command)

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Config: Misc: Redefine Hotkeys (Default Command)

Post by *Balderstrom »

The current GUI for this Config screen, has quite a bit of space between
Command:______[ Default Command (no remapping) ] [Θ] [√]
I believe this would be a much more usable interface
Command:___[Θ] [ ____________________________ ] [√] [ʘ]
The Magnifying glass is just to the right of "Command:", the [√] checkmark moves slightly to the left. And a new button goes beside the checkmark.

The [ cm_Command Area ] is blank, until a key combination is selected (from the pulldown menus + modifiers:CTRL/etc). If the key has a current command, then it would be displayed.

*If the key is a default command, then the new button [ʘ] is greyed out.

*If the key has been user-defined That new button [ʘ] is green, and pressing it will reset the Key back to its default, which will actually be displayed, instead of "Default Command" (or blank if there is no default).

[EDIT]

A furtherance to this idea:
Command:__[ µ ][Θ] [ _________________________ ] [√] [ʘ]
[ µ ] is a PadLock, once you have a command displayed into the cm_Command area, you can lock it (so it wont change). Then select another Key from the pulldown menu, select the Modifiers you want ALT/CTRL, etc. Click on your [ √ ] checkMark to assign it. The Padlock releases, and the other button [ʘ] activates green, which could just as easily be an equal sign [ = ], I suppose, or an [ X ].

The [ µ ] Padlock would autoLock (depress) if you manually get a command by opening up the [Θ] Magnifying glass. You can depress/unlock yourself by clicking on it.

[/EDIT]
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The additional space is there to support translation to different languages, where the string may take far more space than in English, which is usually the most compact language.
Author of Total Commander
https://www.ghisler.com
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Understandable that. The current way that interface has been setup though, and for a long time - it gives the same information for every Key from the pulldown list: Default Command (no remapping) - unless it has been user-defined.
So you don't know if you are changing a key that is actually a Default Command, or a key that has no assignment at all.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

If the above is not possible for consideration, a partial implementation that only requires one button or checkbox.

[x] Lookup Key :: when checked, and you select a key +optional modifiers (Ctrl/etc) the:
[Default command (no remapping)] area would show the key currently defined.

Or a button, when pressed will lookup/display the key thats been selected from the pulldown menu.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Post Reply