Page 1 of 1

Can the menu automatically display shortcuts?

Posted: 2007-06-28, 07:54 UTC
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
------------------------

Posted: 2007-06-28, 09:08 UTC
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.