Simulate input/Keyboard

From Rosetta Code
Revision as of 06:06, 2 June 2009 by rosettacode>Tinku99 (simulating keystrokes in autohotkey)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Task
Simulate input/Keyboard
You are encouraged to solve this task according to the task description, using any language you may know.

send simulated keystrokes to a gui window (specify if the target may be externally created).

AutoHotkey

target may be externally created. <lang AutoHotkey> run, cmd /k WinWait, ahk_class ConsoleWindowClass controlsend, ,hello console, ahk_class ConsoleWindowClass </lang>