Simulate input/Keyboard: Difference between revisions

From Rosetta Code
Content added Content deleted
(simulating keystrokes in autohotkey)
 
(originated with autohotkey)
Line 8: Line 8:
controlsend, ,hello console, ahk_class ConsoleWindowClass
controlsend, ,hello console, ahk_class ConsoleWindowClass
</lang>
</lang>





[[Category:AutoHotkey_Originated]]

Revision as of 06:30, 2 June 2009

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>