3 Replies Latest reply on Nov 24, 2013 5:36 AM by Colin Flashman

    Exporting Multiple PDFs From A Single INDD Document

    hank_patton Level 1

      Hello All-

       

      I am trying to write a script that will create 3 pdf documents (high res, high res with crops and bleeds, and lo res web).

       

      I have a script that works for exporting pdfs with presets:

       

           var myDoc = app.activeDocument;

           var myPDFExportPreset = app.pdfExportPresets.item("[Press Quality]");

           myDoc.exportFile(ExportFormat.pdfType, File(Folder.desktop + "/ExportPDFWithPreset.pdf"),false, myPDFExportPreset);

       

      The issue I am having at the moment is with the filename. I would like the exported pdfs to have the same name as the indd document, but with different suffixes (HR, HRwCrops, LR).

       

       

      I would greatly appreciate any help.

       

       

       

      thanks.

       

      Hank