SetPosition()

Syntax:

SetPosition( PosX, PosY, Time, Wait )

Parameters:

PosX – the horizontal coordintate of the specified object in pixels. PosX must be an integer. This parameter is required.

PosY – the vertical coordinate of the specified object in pixels. PosY must be an integer. This parameter is required.

Time – the time period in seconds. This parameter is optional. The default value is 0.0 seconds

Wait – Wait for this script command to complete before moving to the next script command, or not to wait. Wait is either true or false. If Wait is true, the script pauses until this animation is completed before continuing to the next line of the script. If Wait is false, the script will process the next line of script immediately. This parameter is optional. The default value is true.

Remarks:

This function sets the x and y coordinates of the specified Object’s mid point, relative to the top left-hand corner of its containing frame or to its page if it is not in a frame. There is also an optional Time parameter.

image\Script_Button.jpgExamples