procedure HoldMouseMid(x, y: Integer);
SCAR Divi 3.00 > 3.34
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.
begin HoldMouseMid(500, 500); Wait(100); ReleaseMouseMid(500, 500); end.