This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to get mnemonics in main menu showing as underlined?

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
brahman
Member
Member


Joined: 26 Apr 2006
Posts: 131

PostPosted: Sun Jul 08, 2018 6:50 pm    Post subject: How to get mnemonics in main menu showing as underlined? Reply with quote

Hello,
I have made a customized menu file named c:\Apps\tc7\LANGUAGE\WCMD_ENG.MNU

In the file I have used mnemonics with the & prefix. However they do not show underlined when I open the menu items though they work when I press the correct letter. What is wrong?

Here is the file:

Code:

POPUP "&Files"
    MENUITEM "Copy File(s) >F2 QueueBckgrd...\tCtrl+Shft+C", cm_CopyOtherpanel
    MENUITEM "Copy Within Same Panel...\tShft+F5", cm_CopySamepanel
    MENUITEM "Create Shortcut Link...\tCtrl+Shft+F5", cm_CreateShortcut
    MENUITEM "&Move ReName File >F2 Bckgrd...\tCtrl+M", cm_RenMov
    MENUITEM "File Selection Size Calculation...\tCtrl+L", cm_GetFileSpace
    MENUITEM "Delete File to Trash (Shft: Full)\tDel (+Shft)", cm_Delete
    MENUITEM "Undelete Files from Recycle Bin", cm_OpenRecycled
    MENUITEM SEPARATOR
    MENUITEM "Open Archive or Folder\tCtrl+PgDn", cm_GoToDir
    MENUITEM "&Packer + Plugins...\tAlt+F5", cm_PackFiles
    MENUITEM "&Unpack...\tAlt+F9", cm_UnpackFiles
    MENUITEM "Test Arch&ive(s)\tAlt+Shft+F9", cm_TestArchive
    MENUITEM SEPARATOR
    MENUITEM "TC Compare B&y Content...", cm_IntCompareFilesByContent
    MENUITEM "CI Compare By Content...\tCtrl+Shft+0(=)", cm_CompareFilesByContent
    MENUITEM "Edit Comme&nt...\tCtrl+Z", cm_EditComment
    MENUITEM "Multi-&ReName-Tool...\tCtrl+N", cm_MultiRenameFiles
    MENUITEM "Multi-ReName-&Script...\tCtrl+Shft+N", em_REnameMultiScript
    MENUITEM "Multi File &Time Changer...\tAlias: ti", em_TImeFileChanger
    MENUITEM "&Change Attributes...\tAlias: at", cm_SetAttrib
    MENUITEM "&Associate With...", cm_Associate
    MENUITEM "Intrn&l Associations (OnlyTC)...", cm_InternalAssociate
    MENUITEM "Properties...\tAlt+Enter", cm_VersionInfo
    POPUP "Split / Encode MIME / MD&5"
        MENUITEM "&Split Large File...", cm_Split
        MENUITEM "&Combine Files...", cm_Combine
        MENUITEM "&Encode File (MIME,UUE,XXE)...", cm_Encode
        MENUITEM "&Decode (MIME,UUE,XXE,BinHx)...", cm_Decode
        MENUITEM "&Make CRC C&hcksms (.MD5)...", cm_CRCcreate
        MENUITEM "&Verify CRC Checksms (.MD5)", cm_CRCcheck
    END_POPUP
    POPUP "Print File Lists or Content"
        MENUITEM "File &List...", cm_PrintDir
        MENUITEM "&File List With &Subdirs...", cm_PrintDirSub
        MENUITEM "File Con&tents\tCtrl+F9", cm_PrintFile
    END_POPUP
END_POPUP

POPUP "&Mark"
    MENUITEM "Select &Group...\tNum +", cm_SpreadSelection
    MENUITEM "&Unselect Group...\tNum -", cm_ShrinkSelection
    MENUITEM "Select &All\tCtrl+A", cm_SelectAll
    MENUITEM "U&nselect All\tCtrl+U", cm_ClearAll
    MENUITEM "&Invert Selection\tNum* Ctrl+I", cm_ExchangeSelection
    MENUITEM "Select Same &Ext.\tCtrl+E", cm_SelectCurrentExtension
    MENUITEM "Unselect Same Ext.\tAlt+Num -", cm_UnselectCurrentExtension
    MENUITEM "&Save Selection", cm_SaveSelection
    MENUITEM "&Restore Selection\tNum /", cm_RestoreSelection
    MENUITEM "Sa&ve Selection to File", cm_SaveSelectionToFile
    MENUITEM "&Load Selection from File\tCtrl+Shft+L", cm_LoadSelectionFromFile
    MENUITEM "&File Selection Size Calc.\tCtrl+L", cm_GetFileSpace
    MENUITEM "Next Selected File\tAlt+Down", cm_GotoNextSelected
    MENUITEM "Previous Selected File\tAlt+Up", cm_GotoPrevSelected
    MENUITEM "Selection to Clipboard\tCtrl+Shft+P", cm_CopyNamesToClip
    MENUITEM "Selection from Clipboard", cm_LoadSelectionFromClip
    MENUITEM SEPARATOR
    MENUITEM "Synch Folders Marked Dirs...", cm_FileSync
    MENUITEM "&Compare Folders+Mark\tShft+F2", cm_CompareDirs
    MENUITEM "Compare Folders &Hide Same", cm_DirMatch
    MENUITEM "S&ynchronize Folders StdAln...", em_FileSyncSA
END_POPUP

POPUP "&Commands"
    MENUITEM "&CD Tree...\tAlt+F10", cm_CDtree
    MENUITEM "&Search Standalone...\tCtrl+F", cm_SearchStandalone
    MENUITEM "Search SameThread...", cm_SearchFor
    MENUITEM "&Volume Label...", cm_VolumeId
    MENUITEM "System &Information...", cm_SysInfo
    MENUITEM SEPARATOR
    MENUITEM "S&ynch Folders SameThread...", cm_FileSync
    MENUITEM "&Bookmarks Folder Hotlist\tCtrl+D", cm_DirectoryHotlist
    MENUITEM "&History of Folders\tCtrl+H", cm_DirectoryHistory
    MENUITEM "Make Folder\tIns or F7", cm_MkDir
    MENUITEM "Make Folder in Target Panel\tShft+F7", cm_MkDirOther
   MENUITEM "&Previous Folder\tAlt+Left", cm_GotoPreviousDir
    MENUITEM "&Next Folder\tAlt+Right", cm_GotoNextDir
   MENUITEM "Edit &Top Path Field\tAlt+P", cm_EditPath
    MENUITEM SEPARATOR
    MENUITEM "Run &DOS Cmd\tCtrl+O", cm_ExecuteDOS
    MENUITEM SEPARATOR
    MENUITEM "B&ranch View Files in Subdirs\tCtrl+B", cm_DirBranch
    MENUITEM "Branch View Slctd Files+Dirs\tCtrl+Shft+B", cm_DirBranchSel
   MENUITEM "Branch View Slct All in Path\tAlt+Shft+B", cm_SelectCurrentPath
    MENUITEM "&Quick Search(Shft Last Srch)\tCtrl+S", cm_ShowQuickSearch
    MENUITEM "&Module Bckgrnd Operation...", cm_OpenTransferManager
    MENUITEM SEPARATOR
    MENUITEM "&Exchange Source w. Target\tAlt+X", cm_Exchange
    MENUITEM "S&ame (=) Target as Source\tCtrl+0(=)", cm_MatchSrc
END_POPUP

POPUP "&Net"
    MENUITEM "&Network Connections...", cm_NetConnect
    MENUITEM "Disc&onnect Network Drives...", cm_NetDisconnect
    MENUITEM "Share &Current Directory...", cm_NetShareDir
    MENUITEM "&Unshare Directory...", cm_NetUnshareDir
    MENUITEM "&RemoteUser File Access", cm_ShowFileUser
    MENUITEM "Show Admin Shares", cm_AdministerServer
    MENUITEM SEPARATOR
    MENUITEM "&FTP Connect...", cm_FtpConnect
    MENUITEM "FT&P New Connection...", cm_FtpNew
    MENUITEM "FTP Disconn&ect\tCtrl+Shft+F", cm_FtpDisconnect
    MENUITEM "&Abort Current FTP command", cm_FtpAbort
    MENUITEM "FTP Sho&w Hidden Files", cm_FtpHiddenFiles
    MENUITEM "FTP Download From List", cm_FtpDownloadList
    MENUITEM "PORT Connection To Other PC...", cm_DirectCableConnect
END_POPUP

POPUP "Sho&w"
    MENUITEM "&Brief\tCtrl+F1", cm_SrcShort
    MENUITEM "&Full\tCtrl+F2", cm_SrcLong
    MENUITEM "Co&mments\tCtrl+Shft+F2", cm_SrcComments
    MENUITEM "Custom Columns\tShft+F1", cm_SrcCustomViewMenu
   MENUITEM "Custom View Modes", 333
    MENUITEM "&Tree in File Panel\tCtrl+F8", cm_SrcTree
    POPUP "Separate Tree Toggle\tCtrl+Shft+F8"
        MENUITEM "&0 (None)", cm_SeparateTreeOff
        MENUITEM "&1 (One For Both Panels)", cm_SeparateTree1
        MENUITEM "&2 (Two, One For Each Panel)", cm_SeparateTree2
    END_POPUP
    MENUITEM "T&humbnail View\tCtrl+Shft+F1", cm_SrcThumbs
    MENUITEM "Quick View Panel\tCtrl+Q", cm_SrcQuickview
   MENUITEM "&Quick View In Window\tCtrl+Shft+Q", cm_SeparateQuickView
    MENUITEM "&Lister New Window...\tF3", cm_List
    MENUITEM "&Vertic. Pane Toggle\tCtrl+Alt+V", cm_VerticalPanels
    MENUITEM "Ne&w Folder Tab\tCtrl+T", cm_OpenNewTab
    MENUITEM "&50% Pane Adjstmt.\tDbl.Click Mid", cm_50Percent
    MENUITEM SEPARATOR
    MENUITEM "Last Selection", cm_SrcUserSpec
    MENUITEM "&All Files\tCtrl+F10", cm_SrcAllFiles
    MENUITEM "&Programs Only\tCtrl+F11", cm_SrcExecs
    MENUITEM "&Custom...\tCtrl+F12", cm_SrcUserDef
    MENUITEM "&Only Selected Files\tAlt+Shft+S", cm_ShowOnlySelected
    MENUITEM SEPARATOR
    MENUITEM "&Name Sort\tCtrl+F3", cm_SrcByName
    MENUITEM "E&xtension Sort\tCtrl+F4", cm_SrcByExt
    MENUITEM "T&ime Sort\tCtrl+F5", cm_SrcByDateTime
    MENUITEM "&Size Sort\tCtrl+F6", cm_SrcBySize
    MENUITEM "&Unsorted\tCtrl+F7", cm_SrcUnsorted
    MENUITEM "Up&Down Sort Toggle\tCtrl+Shft+F7", cm_SrcNegOrder
    MENUITEM SEPARATOR
    MENUITEM "R&eread Source\tCtrl+R", cm_RereadSource
END_POPUP

POPUP "&Tabs"
    MENUITEM "Duplicate in New &Tab\tCtrl+T", cm_OpenNewTab
    MENUITEM "&Duplicate Tab in Background\tCtrl+Shft+T", cm_OpenNewTabBg
    MENUITEM "&Folder Open in New Tab\tCtrl+Up", cm_OpenDirInNewTab
    MENUITEM "&Open New Folder Tab Other Side\tCtrl+Shft+Up", cm_OpenDirInNewTabOther
    MENUITEM "&Next Tab Switch\tCtrl+Tab", cm_SwitchToNextTab
    MENUITEM "&Previous Tab Switch\tCtrl+Shft+Tab", cm_SwitchToPreviousTab
    MENUITEM "&Menu Tab Specific\tRight Click Tab", cm_DirTabsShowMenu
    MENUITEM SEPARATOR
    MENUITEM "&Swap all Tabs\tCtrl+Shft+U", cm_ExchangeWithTabs
    MENUITEM SEPARATOR
    MENUITEM "&All Tabs Close\tCtrl+Shft+W", cm_CloseAllTabs
    MENUITEM "&Current Tab Close\tCtrlClck Ctrl+W", cm_CloseCurrentTab
END_POPUP

POPUP "C&onfiguration"
    POPUP "&Menus"
        MENUITEM "Directory Bookmarks\tCtrl+D", cm_DirectoryHotlist
        MENUITEM "Buttonbar...", cm_ButtonConfig
      MENUITEM "Button Bar &2 (Vertical)...", 583
        MENUITEM "Start Menu...", cm_ChangeStartMenu
        MENUITEM "Main Menu...", cm_LanguageConfig
    END_POPUP
    POPUP "&Interface Display Choices"
        MENUITEM "Show/Hide Function Keys", cm_VisKeyButtons
        MENUITEM "Show/Hide Button Bar", cm_VisButtonbar
        MENUITEM "Show/Hide Drive Combo Box", cm_VisDriveCombo
        MENUITEM "Show/Hide Drive Button Icons", cm_VisDriveButtons
        MENUITEM "Show/Hide Single Drive Bar", cm_VisTwoDriveButtons
        MENUITEM "Show/Hide Command Line", cm_VisCmdLine
        MENUITEM "Show/Hide Current Folder", cm_VisCurDir
        MENUITEM "Show/Hide Column Titles", cm_VisTabHeader
        MENUITEM "Show/Hide Status Bar", cm_VisStatusbar
        MENUITEM "Show/Hide Tabbed Folders", cm_VisDirTabs
        MENUITEM "Interface: Flat/3D Look", cm_VisFlatInterface
        MENUITEM "Drive Buttons: Flat/3D Look", cm_VisFlatDriveButtons
    END_POPUP
    MENUITEM SEPARATOR
    MENUITEM "Layout", cm_Config
    MENUITEM "Display + Tool Tips", cm_DisplayConfig
    MENUITEM "Font", cm_FontConfig
    MENUITEM "&Color", cm_ColorConfig
    MENUITEM "Tabstops", cm_ConfTabChange
    MENUITEM "Folder Tabs", cm_DirTabsConfig
    MENUITEM "Custom Columns", cm_CustomColumnConfig
    MENUITEM "Language", cm_LanguageConfig
    MENUITEM SEPARATOR
    MENUITEM "Operation", cm_Config2
    MENUITEM "Edit/View", cm_EditConfig
    MENUITEM "Copy/Delete", cm_CopyConfig
    MENUITEM "&Quick Search", cm_QuickSearchConfig
    MENUITEM "FTP", cm_FtpConfig
    MENUITEM "Plugins", cm_PluginsConfig
    MENUITEM "&Unload TC Plugins", cm_UnloadPlugins
    MENUITEM "&Thumbnails", cm_ThumbnailsConfig
    MENUITEM SEPARATOR
    MENUITEM "Packer", cm_PackerConfig
    MENUITEM "Zip Packer", cm_ZipPackerConfig
    MENUITEM SEPARATOR
    MENUITEM "Confrmtns + Alias + Hotkey", cm_Confirmation
    MENUITEM "&Browse Internal Commands", cm_CommandBrowser
    MENUITEM SEPARATOR
    MENUITEM "Ini Files &Direct Edit Alias:IN", em_INisTCmd
    MENUITEM "&Save TC Pos.+ Column Size", cm_ConfigSavePos
    MENUITEM "Save &All Pane + Tab Settings", cm_ConfigSaveSettings
END_POPUP

POPUP "S&ystem"
    MENUITEM "&Special TC Plugins", cm_OpenNetwork
    MENUITEM "&Recycle Bin", cm_OpenRecycled
    MENUITEM "&Control Panel", cm_OpenControls
    MENUITEM "&Desktop Folder", em_Desktop
    MENUITEM "&My Computer", cm_OpenDrives
    MENUITEM "&Fonts Folder", cm_OpenFonts
    MENUITEM "&Printers", cm_OpenPrinters
    MENUITEM SEPARATOR
    POPUP "&NTFS - Experts Only!"
        MENUITEM "&Permissions Dialog...", cm_EditPermissionInfo
        MENUITEM "File &Auditing...", cm_EditAuditInfo
        MENUITEM "&Take Ownership...", cm_EditOwnerInfo
        MENUITEM "&Run as...", cm_OpenAsUser
    END_POPUP
END_POPUP

STARTMENU

;Following command puts the Help menu to the far right. If omitted, it will be right after Start.
;HELP_BREAK

POPUP "&Help"
    MENUITEM "&Index\tF1", cm_HelpIndex
    MENUITEM "&Keyboard", cm_Keyboard
    MENUITEM "&Registration Info", cm_Register
    MENUITEM "&Visit Totalcmd's Web Site", cm_VisitHomepage
   MENUITEM "&Check for updates now", 650
    MENUITEM SEPARATOR
    MENUITEM "&About Total Commander...", cm_About
    MENUITEM SEPARATOR
END_POPUP

_________________
Regards, Brahman
Win10 Pro x64
Back to top
View user's profile Send private message
ts4242
Power Member
Power Member


Joined: 02 Feb 2004
Posts: 1914
Location: Egypt

PostPosted: Sun Jul 08, 2018 7:24 pm    Post subject: Reply with quote

It is Windows setting, for Windows 10
1. Open Settings> Ease of Access.
2. Select Keyboard on the left side, turn on Enable shortcut underlines option.

For Windows 7 See this
_________________
Author of Ultra TC Editors
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35979
Location: Switzerland

PostPosted: Mon Jul 09, 2018 2:50 am    Post subject: Reply with quote

Normally they should also show up when you press the Alt key.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
brahman
Member
Member


Joined: 26 Apr 2006
Posts: 131

PostPosted: Mon Jul 09, 2018 7:45 am    Post subject: Reply with quote

2TS4242

Thank you, your solution worked, though the option in my Windows 10 version is called "Underline access keys when available" > ON.


2ghisler

I tried this with the Alt key before: The top menus show underlined even without the Alt key pressed and withut the above Windows option set. However, if I open a menu and then press the Alt key, the menu immediately closes.
_________________
Regards, Brahman
Win10 Pro x64
Back to top
View user's profile Send private message
ts4242
Power Member
Power Member


Joined: 02 Feb 2004
Posts: 1914
Location: Egypt

PostPosted: Mon Jul 09, 2018 1:20 pm    Post subject: Reply with quote

brahman wrote:
though the option in my Windows 10 version is called "Underline access keys when available" > ON.

As usual Microsoft changes the place and caption of the same option again and again!


brahman wrote:
if I open a menu and then press the Alt key, the menu immediately closes.

Don't press Alt twice, e.g. to open MRT press Alt+F+R or Alt followed by F+R
_________________
Author of Ultra TC Editors
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group