Page 1 of 1
Set Folder View via script
Posted: 19 Oct 2022 22:37
by jaywalker32
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.
Re: Set Folder View via script
Posted: 19 Oct 2022 23:43
by highend
get() & Menu - Help - List All Commands for the the necessary command ids
Re: Set Folder View via script
Posted: 20 Oct 2022 08:14
by jaywalker32
I can get the command id to pop up the FolderView settings gui. But is there a way to set it programmatically?
Something like
Code: Select all
folderView("c:\wallpapers", "thumbnails #1", "name")
Or even a text file I can edit? But I think they're stored in fvs.dat, so maybe not.
Re: Set Folder View via script
Posted: 20 Oct 2022 08:35
by highend
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())
Re: Set Folder View via script
Posted: 20 Oct 2022 09:07
by jaywalker32
Ok, thx. I can work with this.