KeyFake
(Engine-Level Function)
Description | Places a string of characters in a window's keyboard buffer, simulating a key press. |
Returns | Nothing |
Usage | Script Only. |
Function Groups | Keyboard, String and Buffer |
Related to: | KeyCount | Keys | MatchKeys |
Format: | KeyFake(Object, String) |
Parameters |
Object |
Any expression that returns an object value that defines a window. |
String |
Any text expression that gives the characters to place in the window's keyboard buffer. |
Examples:
If 1 Main; [ KeyFake(myWindow, "Hello World"); ]