ListBox.GetItemText

string ListBox.GetItemText (

string ObjectName,

number Index )

Description

Returns the item text of a specific item in a listbox object.

Parameters

ObjectName

(string) The name of the listbox object.

Index

(number) The index (line number) whose item text you want. You can use an index of -1 to access the last item in the list.

Returns

(string) A string containing the listbox item's text. If an error occurs, a blank string "" will be 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