Sending keystrokes to an application...

rpiller

Member
Joined
Feb 6, 2007
Messages
8
Programming Experience
5-10
The catch is, I don't want the application to be activated. I know I can do:

VB.NET:
AppActivate("TitleOfApp")
SendKeys.SendWait("A")

but that doesn't give the desired result. I'll be working on the computer while this is going on and I don't want to always lose focus from what I'm working on for the keys to be sent. I want the application I'm sending the keystrokes to, to be minimized or not have focus. I want my VB program that determines what I send to not have to bring focus to the window to send the keystrokes.

Can this be done? I've searched online and haven't found anything. Thanks.
 
Back
Top