Sidebar

reference:scripting_reference:scripting_objects:activatetabdata

If a script add-in implements the OnActivateTab event, the method receives an ActivateTabData object whenever the activation state of a tab changes.

Property Name Return Type Description

closing

bool

Returns True if the activation change is due to the old tab being closed.

newtab

object:Tab 

Returns a Tab object representing the tab that has become active.

oldtab

object:Tab 

Returns a Tab object representing the tab that has gone inactive.

qualifiers

string

Returns a string indicating any qualifier keys that were held down by the user when the event was triggered.
The string can contain any or all of the following: shift ctrl, alt, lwin, rwin
If no qualifiers were down, the string will be: none