_TCFOLDER
_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.