Skip to content
⌘ NSIS Forum Archive

Send Keyboard character to window

3 posts

DOCa Cola#

Send Keyboard character to window

Is it possible to emulate a keyboard input to a specific window. For example i have a text application and want to set the text cursor 2 fields down and 'typing' the text string "Test" to it by emulating user input with the arrow key (down) and sending Test to that window.

Hope you can help me
DOCa Cola
Joost Verburg#
You can use Windows API, search MSDN for more info.

keybd_event can send key press events to the active window.