Method Reference
MouseMove
Moves the mouse pointer
MouseMove x, y [, speed]
Parameters
x | The screen x coordinate to move the mouse to. |
y | The screen y coordinate to move the mouse to. |
speed | Optional: the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10. |
Return Value
User mouse movement is hindered during a non-instantaneous MouseMove operation.If MouseCoordMode is relative positioning, numbers may be negative.
Related
MouseClick, MouseClickDrag, MouseCoordMode (Option), MouseGetPosX, MouseGetPosY
Example
Set oAutoIt = WScript.CreateObject("AutoItX3.Control") oAutoIt.MouseMove 10, 100 oAutoIt.MouseMove 700, 700, 0