7 Replies Latest reply on Jul 15, 2010 7:27 AM by gkaiseril

    How do I extract pages from a current open pdf via script?

    Lineage001

      I am using the following script to extract all pages to seperate pdf files, but nothing happens??

       

      var filename = "PageOutput";

      for (var i = 0; i < this.numPages; i++)

          this.extractPages({

              nStart : i,

              cPath : filename + i + ".pdf"});

       

      Any ideas.  This code was taken directly from the Acrobat javascripting Guide.  The guide is for version 7, I am using version 9.

       

      John