I am sure this is trivially easy to do, but being new to Opus I am failing to find the right (raw?) commands to do the following:
In Total Commander, if I wish to sort a list of files by filename, extension, size, date, there are predefined function keys to do so: Control-F3, Control-F4, etc.
Help would be greatly appreciated to know how I can do this in Opus.
This is quite simple. Check out this screenshot. In the red square you can define your shortcuts, in the list at the
right you can chosse from different sorting criteria. You can leave the sortreverse=off
out or set it to »off«, if you want to have it sorted in a different way.
For instance, i use follwing button (which might be circuitous):
Set Columnsremove=modified
Set Columnsremove=description
Set Columnsremove=type
set COLUMNSADD=createddate,createdtime
set SORTBY=created
Set SortReverse=on
The Set command can take an unlimited number of arguments, so you can put them all on the one line. The only catch is when using one of the "toggle" commands, it is undefined which argument will be used when deciding whether the button should appear highlighted or not.
I have to keep that in mind, Thanks. I corrected already one having some format lock toggle. But i just found a situation, where a button is greyed out, since
there are a few columns missing in the first place, so the the button can´t do anything.
Maybe it would be good, to create an »clean slate«, if there was a COLUMNSREMOVE=all (except maybe name or at least one minimum
to avoid possible confusion) to build up a custom columns set from scratch.
That´s great. First i didn´t get it to work, though. It has to be said, that in this special case the SET columns=name,autosize,createdtime
etc. has to stand alone in one line, & another SET line has to be used for the other arguments like set SORTBY=created SortReverse=on.