Page 1 of 1

CTRL + A rotate selection

Posted: 2024-02-03, 07:17 UTC
by RM8MR
I selected option: Operation - Selection (with Num +) : Select only files
But now I don't have any option to select folders because there is no shortcut to select folders.

So I would like to get the option:
"CTRL + A" rotate selection - each press of "CTRL + A" change selection:

select only files -> select only folders -> select all files and folders -> and repeat select only files -> ...

Just a note:
I don't know if it's a bug, but if I choose: Selection (with Num +) : Select only files
CTRL + A select only files too. So not only "Num +", but also "CTRL + A" select only files.

Re: CTRL + A rotate selection

Posted: 2024-02-03, 10:56 UTC
by oko
2RM8MR

Rotating selection is interesting suggestion, so I support. But:
- if set "only files" in configuration, que would be: files-folders-all
- if set "also selecti dirs" in configuration, que would be: all-folders-files or all-files-folders
- rotate selection only while ctrl is pressing down
- next pressing ctrl+a would work always from start not as continuing from actual selection state

ctrl+num+ could work the same in rotating as ctrl+a.

To your note:
1/ ctrl+a
2/ ctrl+num+
3/ num+, enter
...all these three have same behaviour and all of them respects setting in configuration-options-operation-selection (num+).

Re: CTRL + A rotate selection

Posted: 2024-02-03, 13:28 UTC
by petermad
2RM8MR
With option: Operation - Selection (with Num +) : Select only files - you'll have this behavior:

Num+ expands selection for files only
Shift+Num+ expands selection for files and folders
Ctrl+Num+ selects all files
Ctrl+Shift+Num+ selects all files and folders.

Additional commands, you can remap to a keyboard shortcut yourself:
cm_SelectBoth=3311;Select group: files+folders
cm_SelectFiles=3312;Select group: just files
cm_SelectFolders=3313;Select group: just folders
cm_SelectAllBoth=3301;Select both files+folders
cm_SelectAllFiles=3302;Select all files
cm_SelectAllFolders=3303;Select all folders

Re: CTRL + A rotate selection

Posted: 2024-02-03, 16:34 UTC
by oko
Yes, there are many standalone commands as mentioned above and they are needed. Adding rotating selection as alternate way of selecting would have big advance - it is much more simple for user, no buttons or keybord shortcuts needed, only one keybord shortcut to remember and repeat pressing until required selection done. And in addition regardless of setting in configuration because it would work always.

(analog) Rotating is used at shift+f6 rename file to switch between filename with/without extension. Makes work easier.

Re: CTRL + A rotate selection

Posted: 2024-02-03, 16:44 UTC
by oko
RM8MR wrote: 2024-02-03, 07:17 UTC I selected option: Operation - Selection (with Num +) : Select only files
But now I don't have any option to select folders because there is no shortcut to select folders.
When "select only files" setting in configuration, to select all folders you can press: Ctrl+Shift+Num+ (selects all files and folders) and then * (reverse selection - selects only folders).

By accident it works also when "select also dirs" in configuration :) so you can press the same keys: Ctrl+Shift+Num+ (selects only all files) and then * (reverse selection - selects only folders).

Re: CTRL + A rotate selection

Posted: 2024-02-03, 16:58 UTC
by Horst.Epp
I like to use buttons and have defined the following search

Code: Select all

Dirs_SearchFor=
Dirs_SearchIn=
Dirs_SearchText=
Dirs_SearchFlags=0|002002000020||||||||22221|0000|
These button shows only Dirs.

Code: Select all

TOTALCMD#BAR#DATA
cd >dirs

C:\Tools\Wincmd\WCMICONS.DLL,24
Dirs only

0
-1

[OT] Re: CTRL + A rotate selection

Posted: 2024-02-03, 18:25 UTC
by petermad
2Horst.Epp
To show only dirs you can use:

Code: Select all

cd |*
much simpler ;-).

Re: CTRL + A rotate selection

Posted: 2024-02-03, 19:32 UTC
by Fla$her
petermad wrote: 2024-02-03, 13:28 UTC Num+ expands selection for files only
Shift+Num+ expands selection for files and folders
Ctrl+Num+ selects all files
Ctrl+Shift+Num+ selects all files and folders.
Conversely. Num+ or Ctrl+Num+ selects everything, while Shift+Num+ and Ctrl+Shift+Num+ select only files. I've checked it again right now.

Re: [OT] Re: CTRL + A rotate selection

Posted: 2024-02-03, 20:50 UTC
by Horst.Epp
petermad wrote: 2024-02-03, 18:25 UTC 2Horst.Epp
To show only dirs you can use:

Code: Select all

cd |*
much simpler ;-).
Yes, but I had the Dir search for general purpose, so I used it :)

Re: CTRL + A rotate selection

Posted: 2024-02-03, 21:48 UTC
by petermad
Fla$her wrote: 2024-02-03, 19:32 UTC Conversely. Num+ or Ctrl+Num+ selects everything, while Shift+Num+ and Ctrl+Shift+Num+ select only files. I've checked it again right now.
Maybe you missed this part of the posts:
RM8MR wrote: 2024-02-03, 07:17 UTCI selected option: Operation - Selection (with Num +) : Select only files
petermad wrote: 2024-02-03, 13:28 UTCWith option: Operation - Selection (with Num +) : Select only files - you'll have this behavior:

Re: CTRL + A rotate selection

Posted: 2024-02-05, 13:34 UTC
by RM8MR
Thank you for your suggestions about the commands or shortscut (CTRL+Num+, CTRL+Num-, CTRL+SHIFT+Num+, CTRL+SHIFT+Num-), but it's not a simple solution. And I need 3 commands to cover all options (select all, select files, select folders).
What I am suggesting is one simple function on one keyboard shortcut.

And what "oko" mentions, we already have a rotation selection to copy, move or rename files. And it's also a simple function that is really very useful.
So I think a similar rotate selection to CTRL+A, might be useful as well. It's very easy, just press one keyboard shortcut and change the selection. I don't have to search where it's mapped to select files or select folder or select all.