Custom minitree

Discuss and share scripts and script files...
Post Reply
serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Custom minitree

Post 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;
Last edited by serendipity on 06 Feb 2012 16:32, edited 1 time in total.

FeatureCreep
Posts: 162
Joined: 02 Dec 2011 21:18

Re: Custom minitree

Post by FeatureCreep »

Nice! :)

aurumdigitus
Posts: 1075
Joined: 30 May 2008 21:02
Location: Lake Erie

Re: Custom minitree

Post by aurumdigitus »

While not planning to implement this currently it will definitely go into the folder of Saved Scripts!

Thanks ... :D

Post Reply