|

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


image

image

SlideShow.GetPos

OverviewExamples

table SlideShow.GetPos ( string ObjectName )


De s cr ip t ion


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


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


image

P arame t er s


ObjectName


(string) The name of the slideshow object.


Re t u r n s


(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.


|