// JP opened flex table

Click to See Complete Forum and Search --> : interacting with other programs' windows?


meatsuit
February 17th, 2007, 03:21 AM
Is it possible to write a program that interacts with other programs like users do with (a code version of) pointing, clicking and keystrokes?

Point me in the right direction on this one. There's some things I want to automate so I can stop wasting my life.

TY
Kevin

Marc G
February 17th, 2007, 02:42 PM
Try SendInput (http://msdn2.microsoft.com/en-us/library/ms646310.aspx).

golanshahar
February 17th, 2007, 03:37 PM
This FAQ can help:


How can I emulate mouse events in an application? (http://www.codeguru.com/forum/showthread.php?t=377394)
How can I emulate keyboard events in an application? (http://www.codeguru.com/forum/showthread.php?t=377393)


Cheers

meatsuit
February 17th, 2007, 08:31 PM
I appreciate your responses. You got me past my block. Thanks guys.

Kevin

//JP added flex table