Page 1 of 1

Sort files according to whether they are selected or not

Posted: 2025-02-16, 14:30 UTC
by Galizza
  
Hi, i would like to suggest a new cm_command that allows you to sort the files according to whether they are selected or not.
 
This command could complement others like:
 
cm_LoadSelectionFromFile
 
or this other one from petermad

Code: Select all

[em_select_same_name_ext]
cmd=cm_CompareDirs 1,cm_ExchangeSelection,cm_FocusTrg,cm_ExchangeSelection,cm_FocusTrg
 
Thank you very much.
 

Re: Sort files according to whether they are selected or not

Posted: 2025-02-16, 15:17 UTC
by Horst.Epp
I don't see the benefit here ?
I can show only selected files or filtered by Quick search.
After this, it's just a click on the header columns to get it sorted in all ways.
Why should I want to see all the other files at the same time ?

Re: Sort files according to whether they are selected or not

Posted: 2025-02-16, 16:15 UTC
by Galizza
2Horst.Epp

For example, any user who wants to update a list of files. He loads the list using cm_LoadSelectionFromFile, then sort it according to the selection (unselected first and selected last) and mark the files he wants to add and deselecting the ones that no longer interest him, finally he uses cm_SaveSelectionToFile to save the already updated file.

In my case i use daily this petermad em_command

Code: Select all

[em_select_same_name_ext]
cmd=cm_CompareDirs 1,cm_ExchangeSelection,cm_FocusTrg,cm_ExchangeSelection,cm_FocusTrg
And the possibility of ordering the files in such a way that the unselected ones are located at the top of the screen of the left panel, i assure you that it would allow me to work much more easily.
Also for security and whenever it is not absolutely necessary, i prefer to work with all the files in view, each user has different needs and ways of working.