TCC > Variables & Functions > Variables:
Comments (...)
_WINTITLE returns the title of the current window.
Help URL: http://jpsoft.com/help/index.htm?_wintitle.htm