textObject.GetSelectionText()
The text currently selected as a string.
This function gets the selected text as a string. No parameters required. This function is normally used with the SetSelection and ReplaceSelection functions.
Examples