HoldMouseMid

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure HoldMouseMid(x, y: Integer);

Availability

SCAR Divi 3.00 > 3.34

Description

Holds the middle mouse button at the specified coordinate (x, y) relative to the selected client window. 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
  HoldMouseMid(500, 500);
  Wait(100);
  ReleaseMouseMid(500, 500);
end.

See Also