Scripting Acrobat Distiller
Scripting Acrobat Distiller
- Subject: Scripting Acrobat Distiller
- From: Jason Toews <email@hidden>
- Date: Fri, 16 Nov 2001 11:19:48 -0600
BACKGROUND: There's a script that comes with the Quark 5 Beta, which
automates the creation of PostScript files, then distilling them to PDF.
I've taken that script and done some customization with it, including
specifying the Distiller joboptions file to be used. First, there's a
section of the script that finds the Distiller app, then locates the
"Settings" folder inside the Distiller folder, presents the list of
joboptions file to the user (choose from list), then constructs a path to
the correct file based on the user selection. The filepath is placed in a
variable "jobOptPath" as a string. When I call Distiller, I use the
following syntax:
tell application "Acrobat Distiller 5.0"
activate
open (alias psPath) joboptions (alias jobOptPath) with status logging and
wait
end tell
QUESTION: Although this seems to work, the Distiller status window does not
display the correct joboptions file. It simply displays the most recent
manually-selected joboptions file. Can anyone confirm this? I've looked on
the Adobe website in the user forums, and searched the archives of the
MacScrpt list, can't find any other reports of this... As far as I can
ascertain, it seems to be USING the correct joboptions file, but it just
isn't updating the status window accordingly. Just wondering...
Jason P. Toews : Production Systems Analyst
office: 425.487.2237 x3066 ~ cell: 425.891.3051 ~ efax: 208.723.2959
text messaging: email@hidden