Label.GetText

string Label.GetText (

string ObjectName )

Description

Gets the text that is currently displayed in a label object.

Parameters

ObjectName

(string) The name of the label object.

Returns

(string) The text that is currently displayed in the label object. 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