I want to replicate this behavior in a script. So when the script runs, the list will toggle bwteen alpha-sorted (with folders on top) and randomized (with folders mixed). I made a script that runs
#331 View | Sort By | Random Order
and #333 View | Sort By | Sort Folders Apart
. That works to go from sorted to random, but running it again doesn't work because Sort Folders Apart
acts as a toggle and Random Order
doesn't.Is there a way to script this functionality?
EDIT: I'm probably remembering versions before this:
Code: Select all
v23.50.0205 - 2022-08-25 19:28
+ Toolbar | Random Order: Now the button's context menu features the toggle "Include
Folders". Tick it to also shuffle the folders.
This setting also affects the command "View | Sort By | Random Order".