Hello guys and gals!

It's pretty common that we get people in here asking about sendkeys, and usually most gurus and moderators will suggest that it's not really the best idea, because it's really not.

One of the main problems with the concept, is ofcourse stray keyboard focus.
So it would be nice to see a sendkeys.Send, that has a managed way to activate and send input to a particular window identified by the developer,
and also not have it interupted by the user, as sendkeys does. MSDN suggests using FindWindow and Setforegroundwindow, which is okay, but even that does'nt completely ensure focus. It would also be nice to have a method that waits for a new window, that has been invoked by the keyboard strokes, ie {Enter}. This way the automation can then continue on, in a linear manner.

I myself wrote such an input class in VB.NET, that can also simulate mouse events.
InputToWin
I've found it very helpful, and stable in automating tasks, that I can already do as a user.
Feel free to use it as a sketch, or idea template.

PS I need a job!