I’m trying to get Applescript to place a large Link Annotation box on an 8-1/2 x 11 document, 1/8" from the edges.
I’ve studied that Library until my eyes are crossed. I can barety type this. Here’s what gets close - it compiles, but returns an error:
tell application "Acrobat 6.0.1 Professional"
tell PDF Window 1
make Link Annotation options(bounds - 0.125, 8.375, 0.125, 10.875, URL "http://www.google.com/")
end tell
end tell
The error received is “No result was returned from some part of this expression.”
tell application "Adobe Acrobat 7.0 Pro#78A6A"
tell PDF Window 1
make Link Annotation with properties {bounds:{-1446.287109375, 1399.0, -804.287109375, 987.0}}
end tell
This compiles (and works!) just fine for me, but I can’t determine WHAT property to add to give a destination URL to the annotation. Has anyone gotten this to work? Ever?