Can the menu automatically display shortcuts?

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
lidelu
New Member
New Member
Posts: 1
Joined: 2007-06-28, 07:41 UTC

Can the menu automatically display shortcuts?

Post by *lidelu »

I don't know how many shortcuts and what's the default shortcut for every command.
So, can the menu automatically display shortcuts after the menu text, without additional instruction in the WCMD_ENG.MNU?

For example:

I add the following line in the [Shortcuts] section of WINCMD.INI:

Code: Select all

C+F=cm_SearchFor
and I add the following lines in the WCMD_ENG.MNU:

Code: Select all

MENUITEM "Search...", cm_SearchFor
MENUITEM "Copy", cm_Copy
Since I set the "Ctrl + F" shortcut for the cm_SearchFor command, so "Ctrl + F" should dispaly after the menu text;
The default internal shortcut of cm_Copy is "F5", and I do not change it, so the "F5" should display after the menu text.
Then the menu display like this:
------------------------
Search... Ctrl + F
Copy F5
------------------------
User avatar
petermad
Power Member
Power Member
Posts: 16021
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

So, can the menu automatically display shortcuts after the menu text, without additional instruction in the WCMD_ENG.MNU?
No - but you can use the external tool "Hotkeys Editor" wich you can find here: http://www.geocities.com/utcmedit/ultra_tc_editors.htm

If you run Hotkeys Editor after you have made changes to your shortcuts then the program will update your .mnu file with these new shotcuts.
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
Post Reply