Tree.GetPos

table Tree.GetPos ( 

string ObjectName )

Description

Returns the X and Y page or dialog coordinates of a tree object in pixels.

Parameters

ObjectName

(string) The name of the tree object.

Returns

(table) A table containing the object's current coordinates, indexed by values X and Y. If the object cannot be found, nil 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