#333 View | Sort By | Sort Folders Apart to the settings that are saved with a Folder View? I have only one folder where I want that option enabled, but it's not remembered as part of that folders Folder View Settings, even though other Sort order options are remembered.Folder View Settings addition
Folder View Settings addition
Could you add the option
-
admin
- Site Admin
- Posts: 64857
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Folder View Settings addition
Remind me after the 64-bit edition is completed.
FAQ | XY News RSS | XY X
Re: Folder View Settings addition
Do you mean only 1 folder where you want Sort Apart "enabled" or really you meant disabled?
In the meantime while you are waiting, if you wanted, you could achieve a similar result by utilizing a CEA browse script.
In the meantime while you are waiting, if you wanted, you could achieve a similar result by utilizing a CEA browse script.
Re: Folder View Settings addition
I want Sort Folder Apart enabled by default, but there's one column layout for a particular folder where I want it disabled.
Re: Folder View Settings addition
Yeah that's what I thought you meant, so if you set a script something like this:
Configuration | General | Custom Event Actions >> Changing Locations >> After browsing a folder
would be one way of achieving what you want for the time being. I was also assuming you wanted ascending alphabetical sort, but it it is adjustable.
Configuration | General | Custom Event Actions >> Changing Locations >> After browsing a folder
if (<curpath> LikeI "c:\whatever\path\you\want") { sortbylist formatlist(<allitems |>, s), "|"; }would be one way of achieving what you want for the time being. I was also assuming you wanted ascending alphabetical sort, but it it is adjustable.
Re: Folder View Settings addition
How would I apply that to a specific paper folder, and not an actual drive path?
EDIT: I also need it sorted by a custom column, not by the filename.
EDIT: I also need it sorted by a custom column, not by the filename.
Re: Folder View Settings addition
Replace the
c:\whatever\path\you\want with what you see in the breadcrumb/address/titlebar when you are in that particular paperfolder, eg paper:whateverRe: Folder View Settings addition
Doh! That's what I tried but it didn't work, but I forgot to change the action to Run Script instead of None! So it does work, but sorts by filename instead of my custom scripted column.
Re: Folder View Settings addition
Oh, you never mentioned that requirement, you could try this instead then,
Code: Select all
if (<curpath> LikeI "paper:whatever") { settingp "SortFoldersApart", 0; } else { settingp "SortFoldersApart", 1; }Re: Folder View Settings addition
You reply too fast! I edited my previous post about a minute after initial posting.
It works, thanks!jupe wrote: ↑04 Jun 2025 01:55Code: Select all
if (<curpath> LikeI "paper:whatever") { settingp "SortFoldersApart", 0; } else { settingp "SortFoldersApart", 1; }
XYplorer Beta Club