SetYLoc

Description:              This statement sets the Y screen location of the locator (mouse).

Returns:                    Nothing

Usage:                   Script or Steady State

Format:                      SetYLoc(Y)

Parameters:             Y     { numeric }  { required }  { no default: }

                                                Any numeric expression giving the new Y coordinate of the locator (mouse) on the screen.

Comments:               This statement has no effect if the locator is not installed.

Example:

If YLoc() > 300;

[

  SetYLoc(300); 

]

This action keeps the cursor in the top 300 pixels of the screen.

See Also:

SetXLoc | XLoc | YLoc