SendKeys.SendWait doesn't works
Posted
by Guy
on Stack Overflow
See other posts from Stack Overflow
or by Guy
Published on 2010-05-16T07:21:42Z
Indexed on
2010/05/16
7:30 UTC
Read the original article
Hit count: 260
My target is to send keyboard events to external application. From my application, I'm launching a C# exe (console application) that bring the target application to the front and uses SendKeys.SendWait to send keyboards events. I ran into a rate case were the command don't have any affect. When debugging it, it works but when running it not in debug it fails. I think it as something to do with the fact that when debugging my application is the active application.
© Stack Overflow or respective owner