ComboBox.GetCount

number ComboBox.GetCount ( 

string ObjectName )

Description

Returns the number of items in a specific combobox object.

Parameters

ObjectName

(string) The name of the combobox object.

Returns

(number) The number of items in the specified combobox object. If there are no items, 0 is returned. If an error occurs, -1 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