I’m trying to create an automation, that will do the following:
- Perform OCR on all PDF files in Folder A
- Grab 5 digit number from the PDF
- Rename the file according to the 5 digits
- Move the renamed files from folder A to folder B
Pretty simple stuff, I think, but I’m having some issues.
Most of the PDF’s are sadly handwritten and as such, its not always possible to get a 5 digit number. If this is the case, I want to skip the file and continue on to the next file.
Next issue: I will have multiple PDF’s with the same 5 digit number. In this case I want it to rename it xxxxx-1, xxxxx-2, xxxxx-3 and so on.
How would I go about this?
I cannot upload my work since im a new user, so I’m not sure how to share my current work.