If a script add-in implements the OnCloseTab event, the method receives a CloseTabData object when a tab is closed.

Property Name Return Type Description

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 that is closing.