Drags the mouse from a start position to an end position.
The mouse button to use. See MouseButton for details.
MouseButton
The starting X coordinate.
The starting Y coordinate.
The ending X coordinate.
The ending Y coordinate.
The speed of the drag (1 is fast, 100 is slow).
import { MouseClickDrag } from '@ahmic/autoit-js';MouseClickDrag('left', 100, 100, 200, 200, 10); Copy
import { MouseClickDrag } from '@ahmic/autoit-js';MouseClickDrag('left', 100, 100, 200, 200, 10);
https://www.autoitscript.com/autoit3/docs/functions/MouseClickDrag.htm
Drags the mouse from a start position to an end position.