TCC > Variables & Functions > Variables:
Comments (...)
_TCTAB returns 1 if this TCC process is running in a Take Command tab window, or 0 if it is not.
Help URL: http://jpsoft.com/help/index.htm?_tctab.htm