TextField.
Returns the selected text in the text field.
sText = textfield.GetSelText()
| Variable | Description |
|---|---|
| sText | The selected text. STRING. |
If nothing is selected, GetSelText returns an empty string (""). For multi-line text fields, GetSelText returns only on the first line of the selection.
[ ] sMatch = DocumentWindow.Document.GetSelText()
[-] if(sMatch != "")
[ ] Print("Found this false match: " + sMatch)