TCC > Variables & Functions > Variables:
Comments (...)
_TCFOLDER returns the selected folder in the Take Command Folders window if TCC is running in a tab window, or an empty string if it is not.
Help URL: http://jpsoft.com/help/index.htm?_tcfolder.htm