AutoIt MouseMove Function
The MouseMove function moves the mouse pointer to the specified coordinates.
3777 views
Edited: 2021-02-14 02:25
The AutoIt MouseMove Function can be used to move the mouse pointer to a specified location on the screen; the optional speed parameter is used to control the movement speed of the pointer.
This will move the mouse instantly:
MouseMove(10, 200, 0) ; Left-Top (X and Y)
This will move the mouse at moderate speed:
MouseMove(10, 200, 50) ; Left-Top (X and Y)
Parameters
The MouseMove function takes three parameters, the two first are the x and y position wheres to move the pointer, the third is the movement speed.
pixels | The (x) position from the left in pixels. |
pixels | The (y) position from the top in pixels. |
0-100 | The movement speed between 1-100, a value of 0 will move the mouse instantly. |
Tell us what you think: