Page 1 of 1
Folder View Settings addition
Posted: 03 Jun 2025 01:51
by Quaraxkad
Could you add the option #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.
Re: Folder View Settings addition
Posted: 03 Jun 2025 11:21
by admin
Remind me after the 64-bit edition is completed.
Re: Folder View Settings addition
Posted: 03 Jun 2025 16:01
by Quaraxkad
OK!
Re: Folder View Settings addition
Posted: 04 Jun 2025 00:19
by jupe
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.
Re: Folder View Settings addition
Posted: 04 Jun 2025 00:54
by Quaraxkad
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
Posted: 04 Jun 2025 01:12
by jupe
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
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
Posted: 04 Jun 2025 01:35
by Quaraxkad
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.
Re: Folder View Settings addition
Posted: 04 Jun 2025 01:42
by jupe
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:whatever
Re: Folder View Settings addition
Posted: 04 Jun 2025 01:45
by Quaraxkad
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
Posted: 04 Jun 2025 01:55
by jupe
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
Posted: 04 Jun 2025 01:59
by Quaraxkad
jupe wrote: ↑04 Jun 2025 01:55
Oh, you never mentioned that requirement,
You reply too fast! I edited my previous post about a minute after initial posting.
jupe wrote: ↑04 Jun 2025 01:55
Code: Select all
if (<curpath> LikeI "paper:whatever") { settingp "SortFoldersApart", 0; } else { settingp "SortFoldersApart", 1; }
It works, thanks!