TCC > Variables & Functions > Variables:
Comments (...)
_SELECTED returns the first line of text highlighted in the Take Command tab window. If no text has been highlighted, _SELECTED returns an empty string.
Help URL: http://jpsoft.com/help/index.htm?_selected.htm