selectedText

Returns the selection or the word under the cursor.

Syntax
aWindow selectedText
Return Value