MoveMouseBoxEx

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure MoveMouseBoxEx(const Box: TBox; const MouseSpeed: Integer);

Availability

SCAR Divi 3.35 > Current

Description

Moves the cursor to a random coordinate within the given TBox Box, relative to the active client window's input area. The given MouseSpeed determines the how fast the cursor moves, a higher value means it will move faster. The default speed in MoveMouseBox is 20.

Example

begin
  MoveMouseBoxEx(Box(100, 100, 500, 500), 15);
end.

See Also