Hello,
I already have on the toolbar the button for general favorite folders.
Would it be possible to easily have a second button for only a subset of favorite folders that all belong to a single root folder, like this:
Favorite #1: \\Root_Folder\Folder01
Favorite #2: \\Root_Folder\Folder02
Favorite #2: \\Root_Folder\Folder03
thanks in advance
best regards
davide
Second Favorite Foldres button
-
highend
- Posts: 14923
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Second Favorite Foldres button
Script it?
Code: Select all
\\Root_Folder\Folder01
\\Root_Folder\Folder02
\\Root_Folder\Folder03
...
One of my scripts helped you out? Please donate via Paypal
-
dadep
- Posts: 26
- Joined: 17 Jan 2024 15:23
Re: Second Favorite Foldres button
thank you. It works (I'm not so smart with scripting, I'm a basic user)highend wrote: ↑22 Sep 2025 11:27 Script it?
Code: Select all
\\Root_Folder\Folder01 \\Root_Folder\Folder02 \\Root_Folder\Folder03 ...
-
dadep
- Posts: 26
- Joined: 17 Jan 2024 15:23
Re: Second Favorite Foldres button
Hello,
I create a button with this On left-click rule:
\\lishare.sistemi.local\commerciali
\\lishare.sistemi.local\commerciali\Clienti
\\lishare.sistemi.local\commerciali\GARE pubbliche
\\lishare.sistemi.local\commerciali\partner\Partner_Tecnologici
\\lishare.sistemi.local\commerciali\Protocollo
\\lishare.sistemi.local\Progetti
\\lishare.sistemi.local\commerciali\Marketing\Campagne
And when I click on this button I see only the last folder of the path (Clienti, Campagne, ......)
Is possible to set a label as normal favorites buttone, the is linked to alias configuration (for example Campagne=@Marketing, Clienti=@Commerciali) ?
thank you
I create a button with this On left-click rule:
\\lishare.sistemi.local\commerciali
\\lishare.sistemi.local\commerciali\Clienti
\\lishare.sistemi.local\commerciali\GARE pubbliche
\\lishare.sistemi.local\commerciali\partner\Partner_Tecnologici
\\lishare.sistemi.local\commerciali\Protocollo
\\lishare.sistemi.local\Progetti
\\lishare.sistemi.local\commerciali\Marketing\Campagne
And when I click on this button I see only the last folder of the path (Clienti, Campagne, ......)
Is possible to set a label as normal favorites buttone, the is linked to alias configuration (for example Campagne=@Marketing, Clienti=@Commerciali) ?
thank you
-
highend
- Posts: 14923
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Second Favorite Foldres button
Then do it like this:
Code: Select all
$favorites = <<<>>>
\\lishare.sistemi.local\commerciali
\\lishare.sistemi.local\commerciali\Clienti
\\lishare.sistemi.local\commerciali\GARE pubbliche
\\lishare.sistemi.local\commerciali\partner\Partner_Tecnologici
\\lishare.sistemi.local\commerciali\Protocollo
\\lishare.sistemi.local\Progetti
\\lishare.sistemi.local\commerciali\Marketing\Campagne
>>>;
$favorites = regexreplace($favorites, "^(.+?)(?=$)", "$1|$1|$1");
$sel = popupmenu($favorites, 6:=<crlf>, 7:="|");
if ($sel) { goto $sel; }
One of my scripts helped you out? Please donate via Paypal
-
dadep
- Posts: 26
- Joined: 17 Jan 2024 15:23
Re: Second Favorite Foldres button
Thank you so much again.highend wrote: ↑23 Sep 2025 12:13 Then do it like this:Code: Select all
$favorites = <<<>>> \\lishare.sistemi.local\commerciali \\lishare.sistemi.local\commerciali\Clienti \\lishare.sistemi.local\commerciali\GARE pubbliche \\lishare.sistemi.local\commerciali\partner\Partner_Tecnologici \\lishare.sistemi.local\commerciali\Protocollo \\lishare.sistemi.local\Progetti \\lishare.sistemi.local\commerciali\Marketing\Campagne >>>; $favorites = regexreplace($favorites, "^(.+?)(?=$)", "$1|$1|$1"); $sel = popupmenu($favorites, 6:=<crlf>, 7:="|"); if ($sel) { goto $sel; }
Davide
XYplorer Beta Club