2 Replies Latest reply on Jan 7, 2014 12:48 PM by JADarnell

    Creating folders in Javascript for Acrobat

    NoPrevaricator Level 1

      I cannot find a method for creating a folder in Javascript for Acrobat.  I know how to do it in InDesign but the same object (i.e. the folder object) does not seem to be available for Acrobat. 

       

      I have a multi-page PDF in a folder.  I want to create a subordinate folder in the same folder as the PDF and then extract all pages to the subordinate folder in the folder holding the PDF.  How do I do  that?

       

      In other words:

       

      MyFolder/MyMultiPagePDF.PDF

       

      I create

      MyFolder/Extracted/

       

      and then I create

       

      MyFolder/Extracted/PDFPage1.PDF

      MyFolder/Extracted/PDFPage2.PDF

      MyFolder/Extracted/PDFPage3.PDF

      etc.

       

      I know how to do the extraction, but I do not know how to create the folder on the fly using Javascript.

       

      Please help, anyone.

       

      R,

      John