Detect tabswitch (switch to other tab)

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
dragonetti
Posts: 13
Joined: 20 Jan 2013 15:27

Detect tabswitch (switch to other tab)

Post by dragonetti »

Is it possible to detect a tab switch and then to add scripting to it.
I want to initiate the code as soon as I switch to another tab.

I looked in the "Scripting Commands Reference" but I couldn't find anything, maybe I overlooked something or maybe it is (currently) not possible.

Thank you.

nerdweed
Posts: 648
Joined: 25 Feb 2012 07:47
Location: XY64 Latest Beta , Win 11, 96dpi, 100%

Re: Detect tabswitch (switch to other tab)

Post by nerdweed »

This doesn't look possible as of now and would have to wait until Custom Event Actions is available.

As an alternative, you can create scripts that do the tab switching and then followed by your other code.

dragonetti
Posts: 13
Joined: 20 Jan 2013 15:27

Re: Detect tabswitch (switch to other tab)

Post by dragonetti »

Ok!, thank you!
I'll wait, maybe try some other possible work-arounds.

binocular222
Posts: 1423
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: Detect tabswitch (switch to other tab)

Post by binocular222 »

Possible: Current XYS scripting: Use an indefinite While...loop (Help > Scripting)
Alternatively, an ahk script (3rd party software) can also watch for tab changes
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

dragonetti
Posts: 13
Joined: 20 Jan 2013 15:27

Re: Detect tabswitch (switch to other tab)

Post by dragonetti »

Thanks! I will look into it.

Post Reply