Difference between revisions of "MoveMouseSmooth"

From SCAR Divi Manual
Jump to: navigation, search
Line 1: Line 1:
 
==Definition==
 
==Definition==
 
<source lang="scar" lines="false">
 
<source lang="scar" lines="false">
procedure MoveMouseSmooth(x, y: Integer);
+
procedure MoveMouseSmooth(const X, Y: Integer);
 
</source>
 
</source>
  
Line 8: Line 8:
  
 
==Description==
 
==Description==
This function moves the cursor to a coordinate ('''x''', '''y''') relative to the selected client window using a "humanlike" movement. For a far more humanlike mouse movement it's suggested to use the [[MoveWindMouse]] function.
+
This function moves the cursor to a coordinate ('''X''', '''Y''') relative to the selected client window using a "humanlike" movement. For a far more humanlike mouse movement it's suggested to use the [[MoveWindMouse]] function.
  
 
==Example==
 
==Example==

Revision as of 21:38, 5 July 2012

Definition

procedure MoveMouseSmooth(const X, Y: Integer);

Availability

SCAR Divi 3.00 > Current

Description

This function moves the cursor to a coordinate (X, Y) relative to the selected client window using a "humanlike" movement. For a far more humanlike mouse movement it's suggested to use the MoveWindMouse function.

Example

begin
  MoveMouseSmooth(600, 300);
end.

See Also