Passing messages between windows

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




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




.



Relevant Pages

  • Unsure how to start
    ... 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 ... Professional 7 (Mac version) and open each file from the directory ...
    (perl.beginners)
  • Re: C-Drive stem folders with duplicate website info???
    ... I created a sub-folder in my new main folder (HOA WEBSITE) for my .pub file, ... "downloads" on my C-Drive stem is causing the problem?? ... Rename you PDF files to match your links and place them in the DOWNLOADS ...
    (microsoft.public.publisher.webdesign)
  • Re: C-Drive stem folders with duplicate website info???
    ... I will Publish to the Web and place the files in the New "HOA" folder. ... I will place my .pdf files into the "DOWNLOADS" folder. ... Open your pub file using publisher and modify the links for your PDF ... until I had to go back and update the website by ...
    (microsoft.public.publisher.webdesign)
  • Re: C-Drive stem folders with duplicate website info???
    ... I then clicked on the index.htm inside of the new folder on my C-Drive stem, ... HOA WEBSITE, and up came a picture of the website when officially published. ... copied and pasted my four .pdf files into the "downloads" sub-folder. ...
    (microsoft.public.publisher.webdesign)
  • Re: Adding .pdf files to Pub Website using Go Daddy
    ... As much as I hate to admit this, because I only get back to the website ... Even though I know that the .pdf files are at the host server, ... I remember Spike telling me to create a "downloads" folder ...
    (microsoft.public.publisher.webdesign)