Hi,
I have created a basic rule to rename a file, then execute the Devothink Pro script, "Import, OCR, and delete".
This results in a file rename, and an error as seen in the Hazel log entry below:
2021-12-31 07:42:54.180 hazelworker[75290] [Error] AppleScript failed: Error executing AppleScript on file /Users/stephenpower/Documents/PDF Processing/OCR/2021-12-31 2021-12-31 2021-12-31 2021-12-31 1.pdf.
2021-12-31 07:42:54.180 hazelworker[75290] OSAScript error: {
OSAScriptErrorNumberKey = "-1708";
}
It is also renaming the file multiple times ??
https://imgur.com/a/0JzjhW0