Difference between revisions of "SendKeys"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure SendKeys(const Str: AnsiString); </source> ==Availability== SCAR Divi 3.20 > Current ==Description== Sends the [[Ans...")
 
Line 20: Line 20:
 
==See Also==
 
==See Also==
 
*[[TypeKeys]]
 
*[[TypeKeys]]
 +
*[[SendKeysWait]]
 
*[[SendKeysVB]]
 
*[[SendKeysVB]]
 
*[[KeyDown]]
 
*[[KeyDown]]

Revision as of 23:01, 24 October 2011

Definition

procedure SendKeys(const Str: AnsiString);

Availability

SCAR Divi 3.20 > Current

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