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.
Remarks
None.
Related
MouseClick, MouseClickDrag, MouseGetPosX, MouseGetPosY, MouseCoordMode (Option)
Example
Set oAutoIt = WScript.CreateObject("AutoItX3.Control")
oAutoIt.MouseMove 10, 100
oAutoIt.MouseMove 700, 700, 0