Difference between revisions of "ClickMouse"
From SCAR Divi Manual
(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...") |
|||
Line 8: | Line 8: | ||
==Description== | ==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== | ==Example== |
Revision as of 16:06, 3 July 2011
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.