Applescript and InDesign

Discussion in 'Mac Programming' started by evocomps, Oct 2, 2007.

  1. evocomps macrumors newbie

    Oct 2, 2007
    I'm a noob at Applescript and I was wondering, how I can write a code to launch InDesign CS, and load the print presets from a specific folder.

    I can get it to launch InDesign, bring up the "Define" window under Print Presets, but I cannot get it to "click" the Load button.

    :confused: Any suggestions would be greatly appreciated. :confused:

  2. kainjow Moderator emeritus


    Jun 15, 2000
    Here is an article that may help. It discusses UI scripting, which is what you need to do to click a button.
  3. Mekanik561 macrumors newbie

    Feb 10, 2007
    You can just create the presets in AS with:

    tell application "Adobe InDesign CS3"
    make printer preset with properties {name:"Test",paper size:x...

Share This Page