Simulates a mouse click at the specified coordinates.
The mouse button to click. See MouseButton for details.
MouseButton
The X coordinate to click at.
The Y coordinate to click at.
The number of times to click.
The speed of the click (1 is fast, 100 is slow).
1 if successful, 0 otherwise
import { MouseClickSync, MouseButton } from '@ahmic/autoit-js';MouseClickSync(MouseButton.Left, 150, 150, 2, 10); Copy
import { MouseClickSync, MouseButton } from '@ahmic/autoit-js';MouseClickSync(MouseButton.Left, 150, 150, 2, 10);
https://www.autoitscript.com/autoit3/docs/functions/MouseClick.htm
Simulates a mouse click at the specified coordinates.