[SOLVED] Is there a shortcut for this menu?

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
DelphiDev
Junior Member
Junior Member
Posts: 13
Joined: 2019-03-22, 12:03 UTC

[SOLVED] Is there a shortcut for this menu?

Post by *DelphiDev » 2019-04-03, 12:45 UTC

Hey there,
I am sorry if this has been asked before but since the menu does not have a hint I have no idea what to search for.

Is there a keyboard shortcut for this menu?

Image: https://pixhost.to/show/424/101916029_unknown_menu.png

Also why doesn't it have a hint? :)

And while we're at it: why do some elements in TC show their shortcut in their hint while others don't? Is there an option to show shortcuts TC-wide?
(eg History & Directory hotlist show their shortcut, default buttons in the menu bar do not)
Last edited by DelphiDev on 2019-04-04, 06:40 UTC, edited 1 time in total.

User avatar
petermad
Power Member
Power Member
Posts: 8405
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Is there a shortcut for this menu? (name unknown)

Post by *petermad » 2019-04-03, 12:56 UTC

Alt+F11 + Enter for left side and Alt+F12 + Enter for right side.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b4 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

DelphiDev
Junior Member
Junior Member
Posts: 13
Joined: 2019-03-22, 12:03 UTC

Re: Is there a shortcut for this menu? (name unknown)

Post by *DelphiDev » 2019-04-03, 13:24 UTC

petermad wrote:
2019-04-03, 12:56 UTC
Alt+F11 + Enter for left side and Alt+F12 + Enter for right side.
Thanks for your quick reply.

Is there a way to assign another shortcut to that menu?

User avatar
Stefan2
Power Member
Power Member
Posts: 2511
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Is there a shortcut for this menu? (name unknown)

Post by *Stefan2 » 2019-04-03, 13:47 UTC

DelphiDev wrote:
2019-04-03, 12:45 UTC
...

And while we're at it: why do some elements in TC show their shortcut in their hint while others don't? Is there an option to show shortcuts TC-wide?
(eg History & Directory hotlist show their shortcut, default buttons in the menu bar do not)
- Shortcuts seen in menu are only "hard-coded" noted in language files:
\LANGUAGE\WCMD_DEU.LNG
1538="Verzeichnisliste (Strg+D)"

\LANGUAGE\WCMD_DEU.MNU
MENUITEM "&Verzeichnisliste\tStrg+D", 526


- Own shortcuts can only be assigned to internal commands noted in file TOTALCMD.INC (or to own created "em_"-user commands)
- For a list of assigned shortcuts see menu Help > Keyboard...
- If you change a default hotkey, you have to modify the lang-files yourself.


 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

User avatar
petermad
Power Member
Power Member
Posts: 8405
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Is there a shortcut for this menu? (name unknown)

Post by *petermad » 2019-04-03, 23:52 UTC

2DelphiDev
Is there a way to assign another shortcut to that menu?
Alt+F11 and Alt+F12 sets focus to the breadcrumb bar - you will se a little button with a down-arrow appear under the arrow - and when you thereafter press Enter or Down on the keyboard the breadcrumb menu will open.

The corresconding commands are: cm_LeftPathFocus and cm_RightPathFocus - to which you can assign another shortcut - but you will still have to pres Enter or Down after pressing the shortcut
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b4 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

DelphiDev
Junior Member
Junior Member
Posts: 13
Joined: 2019-03-22, 12:03 UTC

Re: Is there a shortcut for this menu? (name unknown)

Post by *DelphiDev » 2019-04-04, 05:18 UTC

Stefan2 wrote:
2019-04-03, 13:47 UTC
- Shortcuts seen in menu are only "hard-coded" noted in language files:
\LANGUAGE\WCMD_DEU.LNG
1538="Verzeichnisliste (Strg+D)"

\LANGUAGE\WCMD_DEU.MNU
MENUITEM "&Verzeichnisliste\tStrg+D", 526


- Own shortcuts can only be assigned to internal commands noted in file TOTALCMD.INC
- For a list of assigned shortcuts see menu Help > Keyboard...
- If you change a default hotkey, you have to modify the lang-files yourself.
That's a real pity. I see room for improvement here @ghisler (although I haven't worked with Delphi 2 in AGES I guess there is a way to dynamically append shortcuts to resource strings :) )
petermad wrote:
2019-04-03, 23:52 UTC
Alt+F11 and Alt+F12 sets focus to the breadcrumb bar - you will se a little button with a down-arrow appear under the arrow - and when you thereafter press Enter or Down on the keyboard the breadcrumb menu will open.

The corresconding commands are: cm_LeftPathFocus and cm_RightPathFocus - to which you can assign another shortcut - but you will still have to pres Enter or Down after pressing the shortcut
Can I somehow open the breadcrumb menu directly with a shortcut? I prefer 2-button-shortcuts and I find having to press Enter additionally a little inconvinient.

DelphiDev
Junior Member
Junior Member
Posts: 13
Joined: 2019-03-22, 12:03 UTC

Re: Is there a shortcut for this menu? (name unknown)

Post by *DelphiDev » 2019-04-04, 06:39 UTC

I just found out, that pressing Enter after Alt+F11/F12 is optional: you can also press Arrow down key to open the menu and then I'd use the arrow keys to navigate the menu anyway.

User avatar
petermad
Power Member
Power Member
Posts: 8405
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: [SOLVED] Is there a shortcut for this menu?

Post by *petermad » 2019-04-04, 08:00 UTC

I just found out, that pressing Enter after Alt+F11/F12 is optional: you can also press Arrow down key to open the menu and then I'd use the arrow keys to navigate the menu anyway.
That's what I meant when I wrote:
...when you thereafter press Enter or Down on the keyboard...
And no, unfortunately there is currently no way of avoiding the additional Enter or DownArrow keypress.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b4 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

DelphiDev
Junior Member
Junior Member
Posts: 13
Joined: 2019-03-22, 12:03 UTC

Re: [SOLVED] Is there a shortcut for this menu?

Post by *DelphiDev » 2019-04-04, 08:19 UTC

Oh, sorry. I somehow read over that.

Post Reply