4 Replies Latest reply on Feb 25, 2009 11:27 PM by Kasyan Servetsky

    [JS] how to package an InDesign document

    PeterHedrington
      I am trying to script the packaging of InDesign files.

      function packageForPrint (to, copyingFonts, copyingLinkedGraphics, copyingProfiles, updatingGraphics, ignorePreflightErrors, creatingReport, versionComments, forceSave){
      app.activeDocument.packageForPrint (Folder.desktop, true, true, true, true, true, true, true, true);
      }

      I thought the packageForPrint was the way to go. But I can't get the correct structure.

      Can someone give me a clue as the direction I need to go with this.

      I am using InDesign CS2 on a Mac. But want the script to work cross platform.

      Any help would be appreciated.

      Peter Hedrington