Control another program's flow ...?

  • Thread starter Thread starter Jorge
  • Start date Start date
J

Jorge

Hello,

I'd like to know how if it's possible to write a program to 'control'
another program.

For instance, let's say i'd like to open Word, change the font, and
insert some text. Is there any way to 'get a hook' on another running
program's resource, and trigger events like keystrokes or a mouse
click ? (pretty much what MsnPlus does)

Thank you!!
 
In
Jorge said:
For instance, let's say i'd like to open Word, change the font, and
insert some text. Is there any way to 'get a hook' on another running
program's resource, and trigger events like keystrokes or a mouse
click ? (pretty much what MsnPlus does)

Have you looked at System.Windows.Forms.SendKeys?
 
You can "automate" any other piece of programming if that software has an
application programming interface (API). Not all programs do. Without
that, you can run another program and somewhat interact with it, but only
superficially.

-Scott
 
Back
Top