Difference between revisions of "TypeKeys"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure TypeKeys(const Str: AnsiString); </source> ==Availability== SCAR Divi 3.20 > Current ==Description== Sends the [[Ans...")
 
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.20 > Current
+
SCAR Divi 3.20 > 3.34
  
 
==Description==
 
==Description==
Line 20: Line 20:
 
==See Also==
 
==See Also==
 
*[[SendKeys]]
 
*[[SendKeys]]
 +
*[[SendKeysWait]]
 
*[[SendKeysVB]]
 
*[[SendKeysVB]]
 
*[[KeyDown]]
 
*[[KeyDown]]
 
*[[KeyUp]]
 
*[[KeyUp]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Keyboard Functions]]
 

Latest revision as of 22:08, 11 October 2012

Definition

procedure TypeKeys(const Str: AnsiString);

Availability

SCAR Divi 3.20 > 3.34

Description

Sends the string given in Str instantly to the active foreground window by emulating keystrokes on the keyboard in a "humanlike" fashion. Each key has a random waiting time in between them.

Example

begin
  Wait(5000);
  TypeKeys('Hello World!');
end.

See Also