Applescript and InDesign

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

  1. evocomps macrumors newbie

    Joined:
    Oct 2, 2007
    #1
    Hey,
    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:

    Thanks,
    Chris
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    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

    Joined:
    Feb 10, 2007
    #3
    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