Hi,
I am trying to use ocrmypdf to do OCR on my pdf using "Run Shell script (embedded script)". Whenever I do run the hazel rule I get an error message "shell script failed" and the rules stops working. When I check the file, the OCR has happened anyhow but no command after the shell script will be executed.
I am using this command in the shell script: "ocrmypdf $1 $1", which works fine, if I execute it in bash shell (Well, I do not use $1 but the actual name of the file I want do do the OCR on").
I would be very grateful, if anybody could help me. If ocrmypdf is not the solution, is there any way to do OCR on pdf files without buying an expensive piece of software.
Thanks
Frank