Internal command names and IDs

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
buzzlightyear
Junior Member
Junior Member
Posts: 42
Joined: 2004-10-01, 10:46 UTC

Internal command names and IDs

Post by *buzzlightyear »

Can you please help me out with the names and id numbers of the internal commands related to the following keyboard shortcuts (sorry for the bad readability, I would have preferred to post this as a <table>, but HTML is off):
  • Key / Action
    F9 Activate menu above source window (left or right)
    F10 Activate left menu or leave menu
    ALT+F3 Use external viewer
    ALT+SHIFT+F5 Move to archive
    ALT+F8 Opens the history list of the command line
    SHIFT+F3 List only file under cursor, when multiple files selected
    SHIFT+F4 Create new text file and load into editor
    SHIFT+F8/DEL Delete directly / delete to recycle bin - according to configuration
    SHIFT+NUM + Like NUM +, but files and folders if NUM + selects just files (and vice versa)
    SHIFT+NUM - Always removes the selection just from files (NUM- from files and folders)
    SHIFT+NUM * Like NUM *, but files and folders if NUM * inverts selection of just files (and vice versa)
    CTRL+SHIFT+NUM + Select all (files and folders if CTRL+NUM + selects only files)
    CTRL+SHIFT+NUM - Deselect all (always files, no folders)
    TAB Switch between left and right file list
    SHIFT+TAB Switch between current file list and separate tree
    INSERT Select file or directory
    SPACE Select file or directory (as INSERT). If SPACE is used on an unselected directory under the cursor, the contents in this directory are counted and the size is shown in the 'full' view instead of the string <DIR>.
    ENTER Change directory/run program/run associated program/execute command line if not empty. If the source directory shows the contents of an archive, further information on the packed file is given.
    SHIFT+ENTER Non-ZIP files: Run command line/program under cursor with preceding command /c and leave open the program's window. Only works if NOCLOSE.PIF is in your Windows directory!
    SHIFT+ENTER With ZIP files: use alternative choice of these (as chosen in Packer config): (Treat archives like directories <-> call associated program, i.e. winzip or unzip).
    CTRL+I Switch to target directory
    CTRL+SHIFT+S Open Quick Filter dialog and reactivate last-used filter

    Command Line: Keys
    ENTER The command line is executed, if it contains at least one character (otherwise, the program under the cursor in the source window is started). If the command is cd, md or rd, it is executed internally. If it is an internal DOS command, DOS will be executed with this command. Otherwise,a program with the given name is executed.
    SHIFT-ENTER Like ENTER, but with preceding command /c. After the called DOS program is terminated, its window is not automatically closed. This will only work if the file noclose.pif is in your windows directory.
    CTRL-ENTER The file under the cursor in the source directory is appended to the command line.
    CTRL-SHIFT-ENTER The file under the cursor including its path is appended to the command line.
    CTRL-CURSORDOWN or ALT+F8 A list with the latest command lines (history-list) is opened. Hold down "the CTRL key and use the up and down cursor keys to select an entry. By pressing the left or right key, you can edit the command line. This automatically closes the list."
    TAB Puts the cursor back to the source directory.
    CURSORLEFT or CURSORRIGHT Cursor left and cursor right move the cursor through the command line, even if the cursor was in the source directory before. If brief was selected, these keys move the cursor through the source directory.
    SHIFT+CURSORLEFT or SHIFT+CURSORRIGHT You then have to hold down SHIFT to move it inside the command line.
    CURSORUP or CURSORDOWN Cursor up and cursor down move the cursor bar inside the source window, even if it was inside the command line.
    ESC Clears the command line, put cursor back in file window.
    CTRL+A Select entire command line
    CTRL+K Delete to end of line
    CTRL+W Delete word to the left of the cursor
    CTRL+T Delete word to the right of the cursor
This list is what was left over after merging TC's latest KEYBOARD.TXT and Totalcmd.inc with petermad's wcmd_winxp_2_eng.mnu in Excel. So please don't reply asking me to look into these files - the information can not be found there. Thanks.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, buzzlightyear.

The original unmodified files keyboard.txt, totalcmd.inc and any menu file can be got by extracting them from install.cab inside the original Total Commander installation package.
So have fun looking up the pieces of information. :wink:

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Here is the best I can do - but many of the combinations you have listed does not have an explicit em_command - the action depends either of your setting in the configuration, or they depend on a specific key (mostly Shift) being pressed while the em_command is triggered.

F9 Activate menu above source window (left or right) - No cm_command
F10 Activate left menu or leave menu - No cm_command
ALT+F3 Use external viewer - cm_List (Alt has to be pressed)
ALT+SHIFT+F5 Move to archive - cm_PackFiles (Shift has to be pressed)
ALT+F8 Opens the history list of the command line - No cm_command
SHIFT+F3 List only file under cursor, when multiple files selected - cm_List (Shift has to be pressed, action according to setup in configuration)
SHIFT+F4 Create new text file and load into editor - cm_Edit (Shift has to be pressed)
SHIFT+F8/DEL Delete directly / delete to recycle bin - according to configuration - cm_Delete (Shift has to be pressed, action according to setup in configuration)
SHIFT+NUM + Like NUM +, but files and folders if NUM + selects just files (and vice versa) - Expand Selection (as Configured) Num+ = cm_SpreadSelection
Select Both Files and Folders = cm_SelectBoth
Select Only files = cm_SelectFiles
Select Only Folders = cm_SelectFolders

SHIFT+NUM - Always removes the selection just from files (NUM- from files and folders) - Shrink Selection (as Configured) = cm_ClearSelCfg
Deselect Both Files and Folders Num- = cm_ShrinkSelection
Deselect Only files Shift+Num- = cm_ClearFiles
Deselect Only Folders = cm_ClearFolders

SHIFT+NUM * Like NUM *, but files and folders if NUM * inverts selection of just files (and vice versa) - Invert Selection (as Configured) Num* = cm_ExchangeSelection
Invert Both Files and Folders = cm_ExchangeSelBoth
Invert Only files = cm_ExchangeSelFiles
Invert Only Folders = cm_ExchangeSelFolders

CTRL+SHIFT+NUM + Select all (files and folders if CTRL+NUM + selects only files) - Select All (as Configured) Ctrl+Num+ = cm_SelectAll
Select All Files and Folders = cm_SelectAllBoth
Select All Files = cm_SelectAllFiles
Select All Folders = cm_SelectAllFolders
Select All with Same Extension Alt+Num+ = cm_SelectCurrentExtension
Select All with Same Name = cm_SelectCurrentName
Select All with Same Name + Extension = cm_SelectCurrentNameExt
Select All in Same Path (Branch View) = cm_SelectCurrentPath

CTRL+SHIFT+NUM - Deselect all (always files, no folders) - Deselect All (as Configured) Ctrl+Num- = cm_ClearAllCfg
Deselect All Files and Folders Ctrl+Num- = cm_ClearAll
Deselect All Files Shift+Ctrl+Num- = cm_ClearAllFiles
Deselect All Folders = cm_ClearAllFolders
Deselect All with Same Extension Alt+Num-= cm_UnselectCurrentExtension
Deselect All with Same Name = cm_UnselectCurrentName
Deselect All with Same Name + Extension = cm_UnselectCurrentNameExt
Deselect All in Same Path (Branch View) = cm_UnselectCurrentPath

TAB Switch between left and right file list - No em_command
SHIFT+TAB Switch between current file list and separate tree - No em_command
INSERT Select file or directory - No em_command
SPACE Select file or directory (as INSERT). If SPACE is used on an unselected directory under the cursor, the contents in this directory are counted and the size is shown in the 'full' view instead of the string <DIR>. - No em_command
ENTER Change directory/run program/run associated program/execute command line if not empty. If the source directory shows the contents of an archive, further information on the packed file is given. - cm_Return
SHIFT+ENTER Non-ZIP files: Run command line/program under cursor with preceding command /c and leave open the program's window. Only works if NOCLOSE.PIF is in your Windows directory! - No em_command
SHIFT+ENTER With ZIP files: use alternative choice of these (as chosen in Packer config): (Treat archives like directories <-> call associated program, i.e. winzip or unzip). - No em_command
CTRL+I Switch to target directory - No em_command (as with TAB)
CTRL+SHIFT+S Open Quick Filter dialog and reactivate last-used filter - No em_command (cm_ShowQuickSearch almost Ctrl+S)

Command Line: Keys -No em_commands AFAIK

You can find the numbers coresponding to the em_commands in the totalcmd.inc file
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

2buzzlightyear
Try Hotkeys Editor, it has a column labeled Default hotkey contains most of these hotkey, also you can create a list for printing File> Export to Text File..., a dialog will pop up with many options to customize the list, and here is a sample one.

Code: Select all

=====================================================================================================================================================================
Default Hotkey              	Command                              	Code 	Description                                                            	
=====================================================================================================================================================================
Alt + Down                  	cm_DirectoryHistory                  	572  	History list                                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Enter                 	cm_VersionInfo                       	510  	Version information                                                    	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F1                    	cm_LeftOpenDrives                    	131  	Left: Open drive list                                                  	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F10                   	cm_CDtree                            	500  	Popup directory tree                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F11                   	cm_LeftPathFocus                     	132  	Left: Put focus on path                                                	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F12                   	cm_RightPathFocus                    	232  	Right: Put focus on path                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F2                    	cm_RightOpenDrives                   	231  	Right: Open drive list                                                 	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F4                    	cm_Exit                              	24340	Exit Total Commander                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F5                    	cm_PackFiles                         	508  	Pack files                                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F7                    	cm_SearchFor                         	501  	Search for                                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + F9                    	cm_UnpackFiles                       	509  	Unpack all                                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Left                  	cm_GotoPreviousDir                   	570  	Go back                                                                	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Num -                 	cm_UnselectCurrentExtension          	528  	Unselect all files with same ext.                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Num +                 	cm_SelectCurrentExtension            	527  	Select all files with same ext.                                        	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Right                 	cm_GotoNextDir                       	571  	Go forward                                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Shift + Enter         	cm_CountDirContent                   	2014 	Calculate space occupied by subdirs in current dir                     	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Shift + F11           	cm_FocusButtonBar                    	4004 	Focus on button bar                                                    	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Shift + F3            	cm_ListInternalOnly                  	1006 	Lister without plugins/multimedia                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Alt + Shift + F9            	cm_TestArchive                       	518  	Test selected archives                                                 	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + \                    	cm_GoToRoot                          	2001 	Go to root directory                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + A = Ctrl + Num +     	cm_SelectAll                         	523  	Select all, files or files + folders (as configured)                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + B                    	cm_DirBranch                         	2026 	Show all files in current dir and all subdirs                          	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + C                    	cm_CopyToClipboard                   	2008 	Copy selected files to clipboard                                       	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + D                    	cm_DirectoryHotlist                  	526  	Directory popup menu                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + E                    	cm_PrevCommand                       	2006 	Previous command line                                                  	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F                    	cm_FtpConnect                        	550  	Connect to FTP                                                         	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F1                   	cm_SrcShort                          	301  	Source: Only file names                                                	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F10                  	cm_SrcAllFiles                       	312  	Source: All files                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F11                  	cm_SrcExecs                          	311  	Source: Only programs                                                  	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F12                  	cm_SrcUserDef                        	314  	Source: Select user type                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F2                   	cm_SrcLong                           	302  	Source: All file details                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F3                   	cm_SrcByName                         	321  	Source: Sort by name                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F4                   	cm_SrcByExt                          	322  	Source: Sort by extension                                              	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F5                   	cm_SrcByDateTime                     	324  	Source: Sort by date                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F6                   	cm_SrcBySize                         	323  	Source: Sort by size                                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F7                   	cm_SrcUnsorted                       	325  	Source: Unsorted                                                       	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F8                   	cm_SrcTree                           	303  	Source: Directory tree                                                 	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + F9                   	cm_PrintFile                         	504  	Print: File                                                            	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + L                    	cm_GetFileSpace                      	503  	Calculate space                                                        	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Left                 	cm_TransferLeft                      	2024 	Transfer dir under cursor to left window                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + M                    	cm_MultiRenameFiles                  	2400 	Rename multiple files                                                  	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + N                    	cm_FtpNew                            	551  	New FTP connection                                                     	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Num -                	cm_ClearAll                          	524  	Unselect all,  files + folders                                         	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + P                    	cm_AddPathToCmdline                  	2019 	Copy path to command line                                              	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + PgDn                 	cm_GoToDir                           	2003 	Open dir or zip under cursor                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + PgUp = Back          	cm_GoToParent                        	2002 	Go to parent directory                                                 	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Q                    	cm_SrcQuickview                      	304  	Source: Quick view panel                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Right                	cm_TransferRight                     	2025 	Transfer dir under cursor to right window                              	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + S                    	cm_ShowQuickSearch                   	2915 	Show name search window                                                	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + B            	cm_DirBranchSel                      	2046 	Show selected files, and all in selected subdirs                       	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + F            	cm_FtpDisconnect                     	552  	Disconnect from FTP                                                    	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + F1           	cm_SrcThumbs                         	269  	Source: Thumbnail view                                                 	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + F2           	cm_SrcComments                       	300  	Source: Show comments                                                  	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + F5           	cm_CreateShortcut                    	1004 	Create a shortcut                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + F8           	cm_SwitchSeparateTree                	3203 	Switch through tree panel options                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + M            	cm_FtpSelectTransferMode             	556  	Select Binary, ASCII or Auto mode                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + Num -        	cm_ClearAllFiles                     	3304 	Unselect all files                                                     	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + Num +        	cm_SelectAllFiles                    	3302 	Select all files                                                       	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + T            	cm_OpenNewTabBg                      	3002 	Open new tab in background                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + Tab          	cm_SwitchToPreviousTab               	3006 	Switch to previous Tab (Ctrl+Shift+Tab)                                	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + U            	cm_ExchangeWithTabs                  	535  	Swap all Tabs                                                          	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + Up           	cm_OpenDirInNewTabOther              	3004 	Open dir under cursor (other window)                                   	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Shift + W            	cm_CloseAllTabs                      	3008 	Close all                                                              	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + T                    	cm_OpenNewTab                        	3001 	Open new tab                                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Tab                  	cm_SwitchToNextTab                   	3005 	Switch to next Tab (as Ctrl+Tab)                                       	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + U                    	cm_Exchange                          	531  	Swap panels                                                            	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Up                   	cm_OpenDirInNewTab                   	3003 	Open dir under cursor in tab                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + V                    	cm_PasteFromClipboard                	2009 	Paste from clipboard to current dir                                    	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + W                    	cm_CloseCurrentTab                   	3007 	Close tab                                                              	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + X                    	cm_CutToClipboard                    	2007 	Cut selected files to clipboard                                        	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Y                    	cm_ClearCmdLine                      	2004 	Clear command line                                                     	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ctrl + Z                    	cm_EditComment                       	2700 	Edit file comment                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Enter                       	cm_Return                            	1001 	Simulate: Return pressed                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F1                          	cm_HelpIndex                         	610  	Help: index                                                            	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F2 = Ctrl + R               	cm_RereadSource                      	540  	Reread source                                                          	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F3                          	cm_List                              	903  	View with Lister                                                       	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F4                          	cm_Edit                              	904  	Edit (Notepad)                                                         	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F5                          	cm_Copy                              	905  	Copy files                                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F6                          	cm_RenMov                            	906  	Rename/Move files                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F7                          	cm_MkDir                             	907  	Make directory                                                         	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
F8 = Del                    	cm_Delete                            	908  	Delete files                                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num -                       	cm_ShrinkSelection                   	522  	Unselect group, files + folders                                        	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num *                       	cm_ExchangeSelection                 	525  	Invert selection, files or files + folders (as configured)             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num /                       	cm_RestoreSelection                  	529  	Restore selection before last operation                                	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Num +                       	cm_SpreadSelection                   	521  	Select group, files or files + folders (as configured)                 	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + Esc                 	cm_Minimize                          	2000 	Minimize Total Commander                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + F1                  	cm_SrcCustomViewMenu                 	270  	Source: Custom view menu                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + F10                 	cm_ContextMenu                       	2500 	Show context menu                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + F2                  	cm_CompareDirs                       	533  	Compare dirs                                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + F5                  	cm_CopySamepanel                     	3100 	Copy within panel                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + F6                  	cm_RenameOnly                        	1002 	Rename (Shift+F6)                                                      	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + Left = Shift + Right	cm_FocusCmdLine                      	4003 	Focus on command line                                                  	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + Num -               	cm_ClearFiles                        	3314 	Unselect group, just files                                             	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + Num *               	cm_ExchangeSelFiles                  	3322 	Invert selection, just files                                           	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Shift + Num +               	cm_SelectFiles                       	3312 	Select group, just files                                               	
---------------------------------------------------------------------------------------------------------------------------------------------------------------------


absolute0
Junior Member
Junior Member
Posts: 14
Joined: 2011-04-21, 03:25 UTC

Post by *absolute0 »

2ts4242

How did you make the column Default hotkey comes first?

The dialog Export to text file has no option for that.
eitang
Senior Member
Senior Member
Posts: 250
Joined: 2003-05-19, 20:08 UTC
Location: France
Contact:

Post by *eitang »

Many text editors allow column mark and then, of course, Copy/Move/Delete etc.
Best Wishes,

Eitan Gilboa (License #: 17011)
URL: https://eitang.pagesperso-orange.fr/
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

absolute0 wrote:2ts4242

How did you make the column Default hotkey comes first?
It is simple:

1- Show the dialog Export to text file.
2- Back to the main window.
3- Arrange columns as you like by drag and drop them.
4- Back to the dialog Export to text file.
5- After exporting, move the columns to their original place.
User avatar
buzzlightyear
Junior Member
Junior Member
Posts: 42
Joined: 2004-10-01, 10:46 UTC

Post by *buzzlightyear »

karlchen wrote:The original unmodified files keyboard.txt, totalcmd.inc and any menu file can be got by extracting them from install.cab inside the original Total Commander installation package.
Thanks, Karlchen, but as said, the information which I asked for is missing in these files.
petermad wrote:Here is the best I can do - but many of the combinations you have listed does not have an explicit em_command - the action depends either of your setting in the configuration, or they depend on a specific key (mostly Shift) being pressed while the em_command is triggered. <snip><list><snip>
Command Line: Keys -No em_commands AFAIK
Thanks, petermad, but how do I send cm_ commands to command line via external tool AND do simultaneously press a key? Example: Open Editor with new file (SHIFT+F4)
karlchen wrote:You can find the numbers coresponding to the em_commands in the totalcmd.inc file
That is clear :-). My post was regarding cm_ commands, only. Thank you very much for all the effort that you have put in your extended menu files along with all that user commands and sharing that with the community.
ts4242 wrote:Try Hotkeys Editor, it has a column labeled Default hotkey contains most of these hotkey, also you can create a list for printing File> <snip><table><snip>[/code]
ts4242, thank you, too. But if you'd taken the time to compare your table with the list that I asked commands for you would have noticed that not a single key which I asked for is to be found in your table - that is the whole point of this topic.

The bottom line is that there are internal commands on prominent function keys that can not be replaced without losing the original functionality. Right?
User avatar
petermad
Power Member
Power Member
Posts: 16115
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

The bottom line is that there are internal commands on prominent function keys that can not be replaced without losing the original functionality. Right?
You can remap keys like Shift+F4 - but you will still have to press Shift to make it open a NEW file - TC checks for the Shift state when executing cm_edit

This applies to other cm_commands like cm_list, cm_packfies and cm_delete.

But for shortcuts that doesn't have an cm_command like F9, F10 or TAB - there is nothing you can do in the realm of remapping - you can not remap if there isn't a cm_command to remap to.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply