Old 29th December 2003, 15:29   #1
DOCa Cola
Senior Member
 
DOCa Cola's Avatar
 
Join Date: Feb 2003
Location: Germany
Posts: 223
Send a message via ICQ to DOCa Cola Send a message via AIM to DOCa Cola Send a message via Yahoo to 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
DOCa Cola is offline   Reply With Quote
Old 29th December 2003, 16:25   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You can use Windows API, search MSDN for more info.

keybd_event can send key press events to the active window.
Joost Verburg is offline   Reply With Quote
Old 29th December 2003, 16:26   #3
DOCa Cola
Senior Member
 
DOCa Cola's Avatar
 
Join Date: Feb 2003
Location: Germany
Posts: 223
Send a message via ICQ to DOCa Cola Send a message via AIM to DOCa Cola Send a message via Yahoo to DOCa Cola
thx, i will take a look into it
DOCa Cola is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump