For Each Loop PDF Pages

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

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!

1 Like

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.

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.