Scripting annotations in Acrobat
Scripting annotations in Acrobat
- Subject: Scripting annotations in Acrobat
- From: John Hanly <email@hidden>
- Date: Thu, 30 Nov 2000 18:31:13 -0500
What I'd like to do is add some text annotations to a lot of .pdf files. We
are taking files from different sources and make them all into .pdf. We
then want to put some identification information on the .pdf's. Up to now
they have been using the Text annotation tool by hand to do this. I figured
I'd give applescripting this a try.
The problem I've found is I don't have any example scripts on how to do this
and searching the web and some of the applescript websites and the mac
script archive hasn't yielded any either.
When I try the following
tell application "Acrobat 4.0"
make new PDTextAnnot
end tell
It actually gives me a note annotation not a text annotation. I've tried
changing the properties but it ignores any settings I give which I presume
is because I do not have the basic syntax correct.
This is a very simple (I think). All I want to do is add a line at the top
and bottom of each page. Can anyone give me some pointers or better yet some
example scripts.
thanks
--
John Hanly MIS Manager
American Corporate Counsel Association
http://www.acca.com
mailto:email@hidden
(W) (202) 293-4103