Adobe Acrobat Pro 10
Adobe Acrobat Pro 10
- Subject: Adobe Acrobat Pro 10
- From: Jim Skibbie <email@hidden>
- Date: Mon, 07 May 2012 15:02:49 +0000
- Thread-topic: Adobe Acrobat Pro 10
Am I missing something or is something seriously broken in Adobe Acrobat Pro 10. A simple script to open a PDF and get the document object works fine in Acrobat Pro v9, but seems completely broken in Acrobat Pro v10.
set x to alias "Macintosh
HD:Users:jim:Desktop:test.pdf"
tell application "Adobe
Acrobat Pro"
open x
set theDoc to document "test.pdf"
set theName to name of theDoc
end tell
In v9, the variable 'theDoc' is the document named 'test.pdf' that is open and I can pluck off the name property without
issue. In v10, the variable 'theDoc' is does not get set and so, getting the name property of 'theDoc' throws an error. Even asking for document 1 in v10 gives me a document object, but most of the properties, including the 'name' are empty. This is on OS
X 10.5.8.
Thanks.
Jim
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden