Restore Folder View - possible enhancements

Features wanted...
Post Reply
prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Restore Folder View - possible enhancements

Post by prino »

I've got dozens of folders with a stored Folder View, but on occasion I need to sort them differently. A custom button is set up to quickly restore the preset FV. However, when doing so, the currently selected file may (or may not) disappear out of view. Would it be possible, even if only as a tweak to either:
  • keep the current behaviour, or
  • scroll the selected (or first of group of selected) file(s) to the top, or
  • just scroll the entire list to the top
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Restore Folder View - possible enhancements

Post by jupe »

I don't totally understand what your usage scenario is, but if you say you are using a custom button to achieve what you want currently, then you could do what I think you are describing something like this:

Code: Select all

  $files = <selitems |>;
  < YOUR OLD BUTTON ACTION SCRIPT ABOUT FOLDER VIEW >
  sortbylist $files, "|";
  sel 1;
  selectitems $files;
or maybe even just this:

Code: Select all

 < YOUR OLD BUTTON ACTION SCRIPT ABOUT FOLDER VIEW >
 #318;

prino
Posts: 358
Joined: 18 Mar 2012 21:14
Location: Vilnius, Lithuania
Contact:

Re: Restore Folder View - possible enhancements

Post by prino »

Yes, I'm sure you can do this with a script. My button-action is currently just "On left clik" #478.

IMHO, needing a script to do what's essentially a reset to a (user-defined) default situation is not a good thing.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy (& W7-64 Pro @ 100%)
At last, a tiny bit of programming here... :mrgreen:

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

Re: Restore Folder View - possible enhancements

Post by jupe »

So you think changing your button to this is too hard?:

Code: Select all

 #478; #318;

Post Reply