Содержание

moveToPoint

Emulates mouse movement to the specified point relative to the upper left corner of the window.

Syntax

moveToPoint = function(aPoint, aPointCount,
  aInterval, aLeftButton);
 
moveToPoint = function(aX, aY, aPointCount,
  aInterval, aLeftButton);

Parameter

Examples

  1. var point = {};
    point.X = 500;
    point.Y = 400;
    //Emulate mouse movement to a point Point;
    moveToPoint(point);
  2. //Emulate mouse movement to a point (500,400);
    moveToPoint(500,400);