Easy selection

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Woolf
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-03, 21:06 UTC

Easy selection

Post by *Woolf »

Hello,
is it possible to create a shortcut that will select only files, but after pressing it second time it would also add folders to the selection? I had this in another file manager and it was very convenient.

I can only see commands to select files/folders/both which would need to be set as separate (different) shortcuts.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7012
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Easy selection

Post by *Horst.Epp »

Can only be made with a script.
I use a Autohotkey script from Stefan2 which toggles show files only.
https://ghisler.ch/board/viewtopic.php?p=408256#p408256
Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1395a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.4 x64
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Easy selection

Post by *petermad »

2Woolf
not by clicking twice, but by holding down Shift (or not) with this button:

Code: Select all

TOTALCMD#BAR#DATA
SELECTFILESS
*
wcmicons.dll,39
Select all files. Hold down shift to also select directories


-1
To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
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
Usher
Power Member
Power Member
Posts: 1727
Joined: 2011-03-11, 10:11 UTC

Re: Easy selection

Post by *Usher »

2Woolf
If you have numeric pad on your keyboard, just use Ctrl+NumPlus to select all files and Ctrl+Shift+NumPlus to select all files and folders. You can use then Ctrl+Shift+NumMinus to have only folders selected.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Easy selection

Post by *petermad »

just use Ctrl+NumPlus to select all files and Ctrl+Shift+NumPlus to select all files and folders.
That only works that way if "Configuration" -> "Options..." -> "Operation" -> "Selection with Num+" -> "Select files only" is enabled. If "Also select directories" is enabled those two shortcuts works the opposite way.

Ctrl+NumPlus and Ctrl+Shift+NumPlus uses the command:
cm_SelectAll = Select all (files or both, as configured)

But there are commands that works regardless of this setting:
cm_SelectAllBoth = Select both files+folders
cm_SelectAllFiles = Select all files
cm_SelectAllFolders = Select all folders
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
Woolf
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-03, 21:06 UTC

Re: Easy selection

Post by *Woolf »

Thank you for you replies.
It is not what I wanted but I set some hotkeys that work for me.

CTRL+A - select only files
SHIFT+A - select only folders
CTRL+SHIFT+A - select everything
A - unselect everything
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Easy selection

Post by *petermad »

2Woolf
You should now that if you use "A - unselect everything", you should make sure the seting for "Configuration" -> "Options..." -> "Quick Search" is not set to "Letter only" - otherwise searching for files with "a" in the name will deselect your selection.

Also you cannot start typing in the command line with A and Shift+A unless you click on the command line first.
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
Woolf
Junior Member
Junior Member
Posts: 5
Joined: 2021-12-03, 21:06 UTC

Re: Easy selection

Post by *Woolf »

Thanks, I know all of this :)
My quick search is ALT+letters and when I want to use command line I just press right arrow.
I use single letter keys for many things e.g. 'D' for 'cd Desktop' - it makes navigation super fast.
Post Reply