//MiniTreeInSyncWOpenedTabs_curLocExpanded_tabFoldersHighlighted_v3 $colorfilterColors = "FFFFFF,70B926"; //text color, background color $org = tweak("SkipBrowseEvents"); tweak("SkipBrowseEvents", 1); //In case the script runs in an error. status 'Loc CEAs disabled; Run tweak("SkipBrowseEvents", 0); to enable.', "ff0000", "alert"; loadtree "|" . (exists()==2?(listfolder(, , 2) . "|"):"") . get("Tabs"), 0; //In case the script runs in an error. status 'Loc CEAs disabled; Run tweak("SkipBrowseEvents", 0); to enable.', "ff0000", "alert"; $instantColorfilterDefinition = ""; foreach($path, get("Tabs")) { $filterPath = (regexmatches($path, "(:|\\)")) ? quote($path . "\") : quote($path); $instantColorfilterDefinition .= "T:dir:" . $filterPath . ">" . $colorfilterColors . "||"; } if (colorfilter() != $instantColorfilterDefinition) { colorfilter($instantColorfilterDefinition); } tweak("SkipBrowseEvents", $org); status "MiniTree updated";