Originally posted by RobDude
If you could give specific examples of what you want to do; you'll find that simulating mouse and keyboard strokes is almost always NOT the best way to do it (you h4x0r you!)

Anyway, if you seriously could give us more info, we could probably help you more.

If you need just to set focus and send keys to an application, blindly; you can use VBScript to do it.

If you want to automate web surfing; use .Net and use a webBrowser control.

If you want to automate other programs that need mouse and keyboard; your best bet is Win32API calls. You can even read colors from the screen to find buttons and what-not.
So there you are telling me all the methods how can i use the methods? How are they used? and what is a h4x0r? lol