Features:
01. Save the current mini tree with a user defined name
02. Switch to saved mini tree(s)
03. Reorder the mini tree(s) in the menu
04. Toggle between the mini and the normal tree
05. Import mini tree(s) from other saved .cfg files
06. Show the original mini tree button menu
Additionally it supports a right click on the used custom toolbar button (ctb) for it to fast toggle between a mini and normal tree without displaying any menu for that
Right-clicking a ctb to invoke its script parameter without displaying the ctb menu for that button requires a tweak:
CTBNoRClickDefaultCommands=1https://www.xyplorer.com/faq-topic.php?id=tweak
Variables to configure inside the script:
Code: Select all
$w = 400; // Default dialog width : 400
$h = 400; // Default dialog height: 400
// ID of the custom toolbar button used, e.g.: "26" for "ctb26"
// Set it to "0", if no ctb is used...
// Hold CTRL while hovering over your ctb to show the ID of the button
// Default = 0 => No ctb button used
$tbID = 0;
// Overwrite a defined (or default) icon of a mini tree entry
// with the inbuilt ":favs" icon for the last loaded entry
// Possible values: 1 / 0, default = 1
$useFavIcon = 1;
You don't need to use any icon here, it will be done automatically once you run the script
If you want to switch from an old version (pre v0.5 era) you can convert your existing MiniTreeSwitcher script(s) into .cfg ones that only contain the necessary mini tree infos
Use the attached MiniTreeConverter script for this
Afterwards these .cfg file entries can be imported by using the MiniTreeSwitcher and the menu entry "Import mini tree(s) from file..."
The converter script can be deleted after doing all conversion(s)
A sample screenshot:
Code: Select all
v0.6.0 will again use a favorite icon but it doesn't replace the defined
icon inside the .cfg file. more noticeable last used mini tree entry in the list...
v0.5.9 changes the behavior regarding icons for mini tree definitions
The last loaded item won't have a favorite icon anymore but instead
you can assign all of your items their own icon
Current version: Old versions:
XYplorer Beta Club