#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
-
Quaraxkad
- Posts: 183
- Joined: 20 Apr 2014 18:01
Folder View Settings addition
Could you add the option
-
admin
- Site Admin
- Posts: 66075
- 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
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
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.
-
Quaraxkad
- Posts: 183
- Joined: 20 Apr 2014 18:01
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.
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
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.
-
Quaraxkad
- Posts: 183
- Joined: 20 Apr 2014 18:01
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.
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
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:whatever-
Quaraxkad
- Posts: 183
- Joined: 20 Apr 2014 18:01
Re: 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.
-
jupe
- Posts: 3446
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
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; }-
Quaraxkad
- Posts: 183
- Joined: 20 Apr 2014 18:01
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