Button.IsEnabled

boolean Button.IsEnabled ( 

string ObjectName )

Description

Returns true if a specific button object is enabled, or false if it's disabled.

Note: When a button is disabled, it takes on a disabled appearance (if it has one) and doesn't respond to user interaction.

Parameters

ObjectName

(string) The name of the button object.

Returns

(boolean) True if the button is enabled, false if it is disabled. If an error occurs, false 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