Applescript to make new Indesign document

Discussion in 'Mac Programming' started by dolt, May 4, 2010.

  1. dolt macrumors newbie

    May 4, 2010
    I am hoping to create an applescript for Indesign CS3. That would make a new document to the size that you input (width and Depth) also adding a slug containing username.
    Any help much appreciated.
  2. chown33 macrumors 604

    Aug 9, 2009
    descending into the Maelström
    Post your code so far.
  3. dolt thread starter macrumors newbie

    May 4, 2010
    set pagewidth to display dialog " Enter width in picas" default answer " "
    set pageheight to display dialog " Enter height in agates" default answer " "
    tell application "Adobe InDesign CS3"
    set myDocument to make new document
    tell document preferences of myDocument
    end tell
    end tell

Share This Page