Page 1 of 1

Restore Folder View - possible enhancements

Posted: 14 Jul 2018 20:25
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

Re: Restore Folder View - possible enhancements

Posted: 15 Jul 2018 06:08
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;

Re: Restore Folder View - possible enhancements

Posted: 16 Jul 2018 19:21
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.

Re: Restore Folder View - possible enhancements

Posted: 17 Jul 2018 03:36
by jupe
So you think changing your button to this is too hard?:

Code: Select all

 #478; #318;