TypeKeys

From SCAR Divi Manual
Revision as of 21:53, 24 October 2011 by Freddy (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure TypeKeys(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 in a "humanlike" fashion. Each key has a random waiting time in between them.

Example

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

See Also