ListBox.GetSelected

table ListBox.GetSelected (

string ObjectName )

Description

Returns a table containing the indexes (line numbers) of all of the selected items in a specific listbox object.

Parameters

ObjectName

(string) The name of the listbox object.

Returns

(table) A numerically indexed table containing all item indexes that are currently selected. If no items are selected or an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions