ClickMouse
From SCAR Divi Manual
Definition
procedure ClickMouse(const X, Y: Integer; const Btn: TMouseButton);
Availability
SCAR Divi 3.00 > Current
- Before 3.35 the Btn parameter was a Boolean with Left = True and Right = False.
Description
Generates a mouse click at the specified coordinate (X, Y) relative to the active client window. The given TMouseBtn Btn indicates what mouse button has to be used. In the event that the current cursor position does not equal that of the given coordinates, the function will call SetMousePos to set the cursor position to the given coordinate. An extended function with additional functionality is available as ClickMouseEx.
Example
begin ClickMouse(500, 500, mbRight); end.