I am trying to develop a work around to a challenge I have.
The objective of this code is to take any sized pdf, and convert each unique page into a text file using OCR, and deposit all those text files into a folder.
I am stuck on two places:
- I am getting a runtime error because of the variable pageCounterString, which I am trying to use to provide the “Range” to the readpdf block.
- I don’t know how to save .txt files that I make to a specific location. I need them to go to a specific location so I can go into them and perform scrapes later.
Any help is much appreciated, and thank you in advance.