ClickMouse
From SCAR Divi Manual
Definition
procedure ClickMouse(x, y: Integer; Left: Boolean);
Availability
SCAR Divi 3.00 > Current
Description
Generates a mouse click at the specified coordinate (x, y) relative to the selected client window. If Left is true, the generated click will be a left click, if Left is false, it will be a right click. In the event that the current cursor position does not equal that of the given coordinates, the function will call MoveMouse to set the cursor position to the given coordinate.
Example
begin ClickMouse(500, 500, False); end.