OverviewExamples
table Input.GetSelection ( |
Returns the start and end positions of text that is selected in an input object.
(string) The name of the input object.
(table) A table containing two numeric indexes. The first index stores where the selection started, and the second stores where the selection ended in the input object. You can access these values using the table keys "Start" and "End." If no text is selected or an error occurs, a value of nil will be returned. You can use Application.GetLastError to determine whether this action failed, and why.
When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.
Standard |
Pro |
|
See also: Related Actions