http://www.apple.com/macosx/features/applescript/
You'll find links to most of what you need there. The rest will be on
Adobe's site, or on AppleScript mail lists.
As has been mentioned, there is probably no reason to resort to perl
and the Carbon API.
On 2005.8.30, at 01:45 PM, Vince wrote:
I had posted this message earlier to the Perl Beginners group:
**********
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 (Mac version) and open each file from the 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
- This is to happen for all the files in that folder.
Someone supposedly told the dude that this script in Perl was easy to
write!
But, un/fortunately, I have no idea where to begin. All I know is
that, if I
am doing it on a PC, I need to add the Win32 package and then study
sample
programs which should get me going some place. But, I don't know if
Win32
would work on Mac or if there is an easier way to approach this!
I would be grateful for suggestions / directions on how to proceed.
**********
I was pointed to this group and this is what I think I need to do:
a) Find the equivalent of Win32 package for Mac
b) Write the program
But, here are my other concerns:
a) I've pretty much never worked on a Mac and don't possess one. In
order to
develop programs I use a PC. I was wondering if Macperl could be
simulated
on a PC?
Thanks for any advise.
Vince