Folder View Settings addition

Features wanted...
Post Reply
Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Folder View Settings addition

Post 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.

admin
Site Admin
Posts: 64857
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Folder View Settings addition

Post by admin »

Remind me after the 64-bit edition is completed.

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Folder View Settings addition

Post by Quaraxkad »

OK!

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Folder View Settings addition

Post 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.

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Folder View Settings addition

Post 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.

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Folder View Settings addition

Post 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.

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Folder View Settings addition

Post 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.

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Folder View Settings addition

Post 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

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Folder View Settings addition

Post 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.

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Folder View Settings addition

Post 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; }

Quaraxkad
Posts: 180
Joined: 20 Apr 2014 18:01

Re: Folder View Settings addition

Post 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. :lol:
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!

Post Reply