Page 1 of 1

Detect tabswitch (switch to other tab)

Posted: 21 Oct 2013 18:28
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.

Re: Detect tabswitch (switch to other tab)

Posted: 21 Oct 2013 18:35
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.

Re: Detect tabswitch (switch to other tab)

Posted: 21 Oct 2013 18:39
by dragonetti
Ok!, thank you!
I'll wait, maybe try some other possible work-arounds.

Re: Detect tabswitch (switch to other tab)

Posted: 22 Oct 2013 04:01
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

Re: Detect tabswitch (switch to other tab)

Posted: 22 Oct 2013 06:58
by dragonetti
Thanks! I will look into it.