Toggle Tabset and Catalog simultaneously with one click?
Toggle Tabset and Catalog simultaneously with one click?
Can I toggle a particular Tabset with a particular Catalog simultaneously with one button click?
Re: Toggle Tabset and Catalog simultaneously with one click?
Not out of the box AFAIK but maybe the Session Manager script would allow such - check it out in the Scripts section viewtopic.php?t=8691.
Ralph 
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)
Re: Toggle Tabset and Catalog simultaneously with one click?
Let's assume you've saved two tabsets with the names: "First" & "Second"
The same for catalogs: "First.dat" & "Second.dat"
The same for catalogs: "First.dat" & "Second.dat"
Code: Select all
perm $P_Tab_Catalog_Toggle;
if (!isset($P_Tab_Catalog_Toggle) || !regexmatches($P_Tab_Catalog_Toggle, "(1|2)")) { $P_Tab_Catalog_Toggle = 1; }
if ($P_Tab_Catalog_Toggle == 2) {
$P_Tab_Catalog_Toggle = 1;
$catalog = "First.dat";
$tabset = "First";
} elseif ($P_Tab_Catalog_Toggle == 1) {
$P_Tab_Catalog_Toggle = 2;
$catalog = "Second.dat";
$tabset = "Second";
}
catalogload $catalog;
tabset("save");
tabset("load", $tabset);
writepv;
One of my scripts helped you out? Please donate via Paypal
Re: Toggle Tabset and Catalog simultaneously with one click?
This is amazing!
Just tried it and works perfect to synchronize/toggle my Catalogs with my Tabsets.
Thanks
Just tried it and works perfect to synchronize/toggle my Catalogs with my Tabsets.
Thanks
Re: Toggle Tabset and Catalog simultaneously with one click?
No problem and... thanks (again) for the donation 
One of my scripts helped you out? Please donate via Paypal
XYplorer Beta Club