1

I found a simple script to run Adobe Distiller on some file.

on run argv
    with timeout of (8 * 60) seconds
        tell application "Acrobat Distiller"
            Distill sourcePath item 1 of argv
        end tell
    end timeout
end run

How can I change page size inside this script?

Or should I modify x.joboptions file and ask Distiller to reload it? How can I do it?

I'm new to AppleScript, and the documentation for Distiller API is not enough for me.

1

The right answer is probably this:

Distill sourcePath in_file destinationPath out_file adobePDFSettingsPath opt_file

And the paths have to be absolute, not relative.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .