ComboBox.GetItemText

string ComboBox.GetItemText ( 

string ObjectName,

number Index )

Description

Returns the item text associated to a specific item in a combobox object.

Parameters

ObjectName

(string) The name of the combobox 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) The item text of the specified item in the combobox. If the specified item has no item text or an error occurs, an empty string ("") 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