Page 1 of 1

Go to multiple folders

Posted: 26 May 2023 15:35
by jsrocha
Hi guys, how´s going?
does anyone know if it is possible to use the "go to" tool to open multiple folders at the same time (in separate tabs)? For instance, i have a list of folder paths, paste into de go to box and then all the folders open in tabs.
Thanks in advance,

Jsrocha

Re: Go to multiple folders

Posted: 26 May 2023 16:38
by Norn

Code: Select all

 $tabs = input("Paths, one per line", , , "m", "cancel", 600, 600);
 if(!$tabs || $tabs == "cancel") {end 1==1}
 foreach($tab, $tabs, <crlf>, "e") {
    if(exists($tab) == 1) {tab("new", gpc($tab, "path")); selectitems $tab}
	else {
	   tab("newb", $tab)
	}
 }

Re: Go to multiple folders

Posted: 30 May 2023 14:00
by jsrocha
Wow, just what i need! Thanks man :)

Jsrocha