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;
XYplorer Beta Club