ClickMouse

From SCAR Divi Manual
Revision as of 00:21, 29 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure ClickMouse(x, y: Integer; Left: Boolean); </source> ==Availability== SCAR Divi 3.00 > Current ==Description== This f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure ClickMouse(x, y: Integer; Left: Boolean);

Availability

SCAR Divi 3.00 > Current

Description

This function will generate 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