jasonpang / Interceptor

C# wrapper for a Windows keyboard driver. Can simulate keystrokes and mouse clicks in protected areas like the Windows logon screen (and yes, even in games). Wrapping http://oblita.com/Interception
MIT License
286 stars 84 forks source link

How to send a key to a background window #16

Open huzjakd opened 5 years ago

huzjakd commented 5 years ago

Is this possible? Note that the window needs to stay in the background. I don't want to set the focus for a split second and then unfocus.

VollRahm commented 5 years ago

I would do that with PostMessage then. I don't think it works with interception, since it only simulates Keyboard input in Kernel Space

keytrap-x86 commented 3 years ago

See this example