Sidebar

reference:scripting_reference:scripting_objects:sourcedestdata

If a script add-in implements the OnSourceDestChange event, the method receives a SourceDestData object to indicate which tab's state changed.

Property Name Return Type Description

dest

bool

Returns True if the tab is now the destination.

source

bool

Returns True if the tab is now the source. If both source and dest return False it indicates that the tab is now "off".

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

tab

object:Tab 

Returns a Tab object representing the tab.