Plugin.GetPos

table Plugin.GetPos ( 

string ObjectName )

Description

Returns the X and Y page coordinates of a plugin object in pixels. This coordinate refers to the upper left hand corner of the object's bounding box relative to the page.

Note: The upper left hand corner of a page has X and Y coordinates of 0.

Parameters

ObjectName

(string) The name of the plugin 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 action editor, you can use this field to specify a variable that the return value will be stored in.

Availability

Standard

Pro

 

See also:  Related Actions