3 Replies Latest reply on Aug 22, 2017 9:44 AM by Test Screen Name

    How to read multiple .pdf files in a loop for batch processing




      I'm trying to create a loop that effectively goes through a folder containing multiple pdf documents. This script is essentially meant to open and extract specific data from each pdf and export it to a single .txt file. The data export script has already been written, but I am having issues with setting up my loop to work through the folder.


      This is the general layout of the loop I am currently working with:


      while (***FOLDER HAS NEXT FILE***)


           var thisFile = ***SAVE FILE NAME AS STRING VARIABLE***



           (insert data extraction and export script)



      If this initial approach is ineffective, or if there is a more efficient alternative, please share! Thank you!