Automating Imposition Wizard Using AppleScript

Imposition Wizard can be controlled using AppleScript. You may open projects, set source and target PDF files and run the imposition process. This is enough for most automation tasks. See the script example below that imposes PDF file and open the result in Preview application.

set project to "/path/to/project.impproj"
set src to "/path/to/source.pdf"
set dst to "/path/to/target.pdf"
tell application "Imposition Wizard"
    activate
    open project
    tell first document
        set source to src
        impose in dst
        close saving no
    end tell
end tell
tell application "Preview"
    open dst
end tell

Please note that in Tiger you should use the following synthax for open command, but keep the original synthax for source and destination paths:

set project to "Macintosh HD:path:to:project.impproj"
set src to "/path/to/source.pdf"
set dst to "/path/to/target.pdf"

Important

Since version 1.6 there is no property named target in the document and method impose is extended with target file parameter. See the new proper synthax in the sample above.