For Each Loop PDF Pages


#1

Is there anyway to get a for each loop to move through pages in a PDF document?


#2

Hi @mattmccormack1,

You can use a variable in the Range Property in the Read PDF activities to loop thru the pages in PDF.

Hope this helps!


#3

Thank you for your response. I have tried this method but I am scraping from a specific region on the PDF, and when reading the PDF to a text file, there is no longer a consistent area where the text is.


#4

In that case you can use the navigation provided by the Acrobat Reader, using Keyboard it is “Right Arrow” to move to next page and “Left Arrow” for previous page.

image