RE: Scripting annotations in Acrobat
RE: Scripting annotations in Acrobat
- Subject: RE: Scripting annotations in Acrobat
- From: "Pitcher, George" <email@hidden>
- Date: Fri, 1 Dec 2000 06:26:00 -0000
John,
Acrobat (v3 is all I've used) doesn't allow text annotation directly. If
there's a text box there you can alter or add to it otherwise you're stuck.
We wanted to do this for documents in our electronic library - adding a
copyright note to the top. There are plug-ins available which will allow
this. Try a web-search to find them. Once you have one it may be scriptable?
Hope this helps (and if I'm totally wrong about text annotations, I'd
welcome a pointer to how it is done (in v3).
George Pitcher,
Edinburgh
>
-----Original Message-----
>
From: John Hanly [mailto:email@hidden]
>
Sent: 30 November 2000 23:31
>
To: email@hidden
>
Subject: Scripting annotations in Acrobat
>
>
>
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
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users