Difference between revisions of "SendKeys"

From SCAR Divi Manual
Jump to: navigation, search
 
Line 5: Line 5:
  
 
==Availability==
 
==Availability==
SCAR Divi 3.20 > Current
+
SCAR Divi 3.20 > 3.34
  
 
==Description==
 
==Description==
Line 25: Line 25:
 
*[[KeyUp]]
 
*[[KeyUp]]
  
[[Category:Functions]]
+
[[Category:Deprecated Functions]]
[[Category:Keyboard Functions]]
 

Latest revision as of 16:01, 10 November 2012

Definition

procedure SendKeys(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.

Example

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

See Also