Difference between revisions of "ClickMouseEx"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> procedure ClickMouseEx(const X, Y: Integer; const Btn: TMouseButton; const Interval: Integer); </source> ==Availability== SC...") |
(No difference)
|
Latest revision as of 12:01, 8 September 2012
Definition
procedure ClickMouseEx(const X, Y: Integer; const Btn: TMouseButton; const Interval: Integer);
Availability
SCAR Divi 3.35 > Current
Description
Generates a mouse click at the specified coordinate (X, Y) relative to the active client window. The TMouseBtn Btn indicates what mouse button has to be used. Interval determines the time (in ms) the function waits between pressing and releasing the mouse button. 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.
Example
begin ClickMouseEx(500, 500, mbRight, 50 + Random(20)); end.