ComboBox.GetItemData

string ComboBox.GetItemData ( 

string ObjectName,

number Index )

Description

Returns the item data 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 data you want. You can use an index of -1 to access the last item in the list.

Returns

(string) The item data associated to the specified combobox item. If the item does not contain any item data, 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