Passing messages between windows
- From: "Vince" <sdsad@xxxxxxx>
- Date: Tue, 30 Aug 2005 18:43:45 +0800
Here's the situation:
Some dude working in my company needs a program that does this-
- There are over a 100 PDF files in some folder on a Mac Machine
- The program to be written is supposed to invoke Adobe Acrobat
Professional 7 and open each file in that directory
- Once each file is opened in Acrobat 7, it is supposed to push Alt + E
(or similar) and then 'n' (or similar) in order to enable commenting on the
PDF file.
- The program is then supposed to push Alt +F and then 'S' to save the
file
- Then the program needs to get Acrobat to quit and the next file needs
to be processed
- This is to happen for all the files in that folder.
I convinced the dude that it would be a little too challenging for me to do
this sort of thing on a Mac machine (I have no idea how to use one) and he
reluctantly agreed to a PC version of the software! (He'ld have to copy the
PDF files between Mac and PC).
But, that's one war won, not the battle. I need to write this little program
in VB. I was wondering if someone would point me in the right direction. I
know I am supposed to use Sendkeys (liberally) but how do I bring another
window to the foreground (Adobe 7) and then do the Sendkeys and then quit,
give VB back the control and so forth. Any examples on this sort of inter
window messaging and Sendkeys would be greatly helpful. Can somebody please
guide me?
Thanks a lot!
Vince
.
- Follow-Ups:
- Re: Passing messages between windows
- From: NickHK
- Re: Passing messages between windows
- Prev by Date: vb export to openoffice
- Next by Date: Incrementing Name Duplicates
- Previous by thread: vb export to openoffice
- Next by thread: Re: Passing messages between windows
- Index(es):
Relevant Pages
|