xButton.GetImage

string xButton.GetImage ( 

string ObjectName )

Description

Returns the path to the image file that is currently displayed on an xButton object.

Parameters

ObjectName

(string) The name of the xButton object.

Returns

(string) The full path to the image file that is currently displayed on the xButton 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