Scripting Acrobat Web Capture: Does it Work?
Scripting Acrobat Web Capture: Does it Work?
- Subject: Scripting Acrobat Web Capture: Does it Work?
- From: J Oh <email@hidden>
- Date: Tue, 28 Feb 2006 02:02:59 -0800
So, I have the full Acrobat Professional 7.0.5 and would like to
automate the web capture function. According to Acrobat's dictionary,
this should be straightforward. So, I write my simple script:
tell application "Adobe Acrobat 7.0 Professional"
capture web page "http://www.macintouch.com" into New Document
end tell
Here's the error from the Result Log:
tell application "Adobe Acrobat 7.0 Professional"
capture web page "http://www.macintouch.com" into New Document
"Adobe Acrobat 7.0 Professional got an error:
\"http://www.macintouch.com\" doesn't understand the
capture web page message."
capture web page v : Capture a web page (or pages) and convert them
into an Acrobat document
Does anyone have any experience scripting Web Capture in Acrobat? Is
my syntax off? I don't understand the error. And what's with the
backslashes (\) around the URL in the error message? Any pointers
would be much appreciated. Below is the dictionary entry for
Acrobat's web capture function.
capture web page [string] : URL to convert to PDF
into New Document/Current Document : the target file
[EntireSite boolean] : True if you want to capture the entire website.
If true, Levels, SameMachine, and SamePath are ignored
[Levels small integer] : Number of levels to descend.
[SameMachine boolean] : Stay on the same server while capturing.
[SamePath boolean] : Only get pages under the same path.
--> boolean : Returns true if the capturing could begin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden