0 Replies Latest reply on Nov 24, 2016 2:58 PM by Jo_2013

    Create single report generated from multiple pdf files

    Jo_2013 Level 1

      I need to generate a report to extract information from multiple pdf files.

       

      To get a report from a single pdf this script works fine tested from the console:

       

      var docfile = this.documentFileName;

      var rep = new Report();

      rep.size = 1.2;

      rep.color = color.blue;

      rep.writeText (docfile + "\r\n");

      rep.open("My Report")

       

      Not sure how to generate a single report listing document file names from multiple pdf files?

       

      Any assistance in help creating this report will be most appreciated - thank you.

       

      Update:

      I have modified the script to be an action script - there are separate reports generated for each document file name instead of a single report with multiple document file names listed in the one report.

      If any one can help that would be great.

      var docfile = event.target.documentFileName;

      var rep = new Report();

      rep.size = 1.2;

      rep.color = color.blue;

      rep.writeText (docfile + "\r\n");

      rep.open("My Report");

      console.println(docfile);