Page 1 of 1

Second Favorite Foldres button

Posted: 22 Sep 2025 11:18
by dadep
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

Re: Second Favorite Foldres button

Posted: 22 Sep 2025 11:27
by highend
Script it?

Code: Select all

\\Root_Folder\Folder01
\\Root_Folder\Folder02
\\Root_Folder\Folder03
...

Re: Second Favorite Foldres button

Posted: 22 Sep 2025 12:30
by dadep
highend wrote: 22 Sep 2025 11:27 Script it?

Code: Select all

\\Root_Folder\Folder01
\\Root_Folder\Folder02
\\Root_Folder\Folder03
...
thank you. It works (I'm not so smart with scripting, I'm a basic user)

Re: Second Favorite Foldres button

Posted: 23 Sep 2025 11:58
by dadep
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

Re: Second Favorite Foldres button

Posted: 23 Sep 2025 12:13
by highend
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; }

Re: Second Favorite Foldres button

Posted: 23 Sep 2025 13:04
by dadep
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; }
Thank you so much again.
Davide