[SOLVED] Is there a shortcut for this menu?

English support forum

Moderators: white, Hacker, petermad, Stefan2

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

[SOLVED] Is there a shortcut for this menu?

Post by *DelphiDev »

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: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

Alt+F11 + Enter for left side and Alt+F12 + Enter for right side.
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
DelphiDev
Junior Member
Junior Member
Posts: 94
Joined: 2019-03-22, 12:03 UTC

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

Post by *DelphiDev »

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: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post by *Stefan2 »

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.


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

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

Post by *petermad »

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 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
DelphiDev
Junior Member
Junior Member
Posts: 94
Joined: 2019-03-22, 12:03 UTC

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

Post by *DelphiDev »

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: 94
Joined: 2019-03-22, 12:03 UTC

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

Post by *DelphiDev »

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: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

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

Post by *petermad »

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 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
DelphiDev
Junior Member
Junior Member
Posts: 94
Joined: 2019-03-22, 12:03 UTC

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

Post by *DelphiDev »

Oh, sorry. I somehow read over that.
Post Reply