Is there a script command for setting and getting Folder Views? Esp for paper folders? Don't see anything in the docs.
Eg. If was want to create a paper folder from a search result, but also set it's folder view to Thumbnail view, sorted by Name.
Set Folder View via script
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Set Folder View via script
get() & Menu - Help - List All Commands for the the necessary command idsOne of my scripts helped you out? Please donate via Paypal
-
jaywalker32
- Posts: 214
- Joined: 27 May 2014 05:24
Re: Set Folder View via script
I can get the command id to pop up the FolderView settings gui. But is there a way to set it programmatically?
Something like
Or even a text file I can edit? But I think they're stored in fvs.dat, so maybe not.
Something like
Code: Select all
folderView("c:\wallpapers", "thumbnails #1", "name")-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Set Folder View via script
Folder views entries aren't scriptable but you can use CEAs (Changing Locations - After painting the file list) events to get / set whatever you need (view() / sortby())
One of my scripts helped you out? Please donate via Paypal
-
jaywalker32
- Posts: 214
- Joined: 27 May 2014 05:24
Re: Set Folder View via script
Ok, thx. I can work with this.
XYplorer Beta Club