Page 1 of 1

Custom minitree

Posted: 05 Feb 2012 18:37
by serendipity
A script which will minimize your tree to Recent files, favorite folders and tabs opened in both panes.

Note: Script will save your current settings to include favorites from current session. You can remove #182 if you don't want this.

Code: Select all

//Save all settings
   #182;

//Get favorites from ini
  $favcount= getkey ("Count", "Favorites");
  $count=1;
  $favpath="";
  WHILE($favcount>=$count) {
  $getpath= getkey ("Fav$count", "Favorites");
  $favpath="$favpath|$getpath";
  $count++;
  }

//Minimize tree to recent
  #513;  
//Add favorites to minitree
  loadtree "$favpath", 1;
//Add current tabs
  loadtree "<get tabs>", 1;

//Optionally add inactive pane's paths too
  focus PI;
  loadtree "<get tabs>", 1;
  focus PI;

Re: Custom minitree

Posted: 06 Feb 2012 11:40
by FeatureCreep
Nice! :)

Re: Custom minitree

Posted: 06 Feb 2012 13:51
by aurumdigitus
While not planning to implement this currently it will definitely go into the folder of Saved Scripts!

Thanks ... :D