Difference between revisions of "MoveMouseSmooth"

From SCAR Divi Manual
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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>
  
 
==Availability==
 
==Availability==
SCAR Divi 3.00 > Current
+
SCAR Divi 3.00 > 3.34
  
 
==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==
Line 22: Line 22:
 
*[[MoveWindMouse]]
 
*[[MoveWindMouse]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Mouse Functions]]
 

Latest revision as of 12:04, 8 September 2012

Definition

procedure MoveMouseSmooth(const X, Y: Integer);

Availability

SCAR Divi 3.00 > 3.34

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