Alt+Num + change the rules for allocating files without extensions and folders

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
BenderBey
Junior Member
Junior Member
Posts: 5
Joined: 2022-04-17, 15:20 UTC

Alt+Num + change the rules for allocating files without extensions and folders

Post by *BenderBey »

Yandex Translation:
Hello!
Add a key or command that changes the way folders and files are highlighted without an extension using the keyboard shortcut Alt+Num+
Result:
Alt+Num+ (cursor on any folder) - select all folders in the panel.
Alt+Num+ (cursor on a file without extension) - select only files without extension.
User avatar
petermad
Power Member
Power Member
Posts: 16001
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Alt+Num + change the rules for allocating files without extensions and folders

Post by *petermad »

You can make this em_command in your usercmd.ini file:

Code: Select all

[em_SelectCurrentExtension]
cmd=SELECTFILES
param=*.%E
Unlike the build-in cm_SelectCurrentExtension command, this em_SelectCurrentExtension is independent of the setting in "Configuration" -> "Operation" -> "Selection (with Num + )"

Then you can redefine the shortcut Alt+Num+ to em_SelectCurrentExtension
And you can redefine the shortcut Alt+Shift+Num+ to cm_SelectAllFolders

You redefine shortcuts in "Configuration" -> "Misc"

Or you can edit your wincmd.ini like this:

Code: Select all

[Shortcuts]
A++=em_SelectCurrentExtension
AS++=cm_SelectAllFolders
You can not (without external tools) make Alt+Num+ do both things, that is why you have to make two shortcuts Alt+Num+ and Att+Shift-Num+
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