This content has been marked as final. Show 3 replies
1. Just save your script as an application and wrap your stuff in an "on run" statement.
tell application "Adobe InDesign"
See the Applescript Language Reference at developer.apple.com/applescript for more info.
2. Yup. The "do stuff" in your case will probably look something like this:
tell active document
--Set up options, assumes you have created a printer preset
-- with the output options you want
set active printer preset of print preferences to "my printer preset"
set page range of print preferences to all pages
--And then print
print without print dialog
This looks like a start: