how to get current tabset via script ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

how to get current tabset via script ?

Post by bossi »

It seems <tabset> works for the title Bar only .

current workaround ...

Code: Select all

 $tabset = tabset("save");

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: how to get current tabset via script ?

Post by admin »

tabset("save") returns the full path, <tabset> in the title bar just the file title (= tabset title). What do you want? :)

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: how to get current tabset via script ?

Post by bossi »

yes , i wanted to return the current tabset-path within a script .
because i use tabset("save") and actually don't want to save the current state of the tabset , i added a "store" & "restore" function.
so the desired state is never really overwritten )

admin
Site Admin
Posts: 66097
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: how to get current tabset via script ?

Post by admin »

The <xypane> variable gives you just that.

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: how to get current tabset via script ?

Post by bossi »

ahh yes , overlooked it :D

Post Reply