ComboBox.GetText

string ComboBox.GetText (

string ObjectName )

Description

Returns the text currently displayed in the combobox object.

Parameters

ObjectName

(string) The name of the combobox object.

Returns

(string) The text currently displayed in the specified combobox object. If no text is currently displayed in the combobox 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