ClickMouse

From SCAR Divi Manual
Revision as of 17:06, 3 July 2011 by Freddy (talk | contribs)
Jump to: navigation, search

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.

See Also