For a while I have used hazel to OCR my documents and move them, etc into other folders. Over time I used some not-so-great tools to OCR files and finally found and used PDF Pen pro. Unfortunately that left me with older files that have horrible OCR layers. The new PDF Pen pro will remove those old layers and let me do a clean OCR but I'd like to do this with an embedded apple script in Hazel if possible; unfortunately I can't figure the command to delete the existing ocr layer from a file.
Can any of you super smart people help with the script to simply call PDF Pen pro and remove the OCR layer?
Sorry, I'm trying to learn but i've hit a wall and can't find the command in the script tool or right syntax if its off the regular "ocr" command.
I didn't find the right solution from the internet.
Creative animation studio