Hazel AppleScript timeout

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hazel AppleScript timeout Tue Nov 13, 2007 8:09 pm • by thecookieman
I have Hazel running an AppleScript on a folder that receives PDF files from a document scanner. The AppleScript launches Adobe Acrobat, runs OCR on the file, saves and closes the document.

The problem I'm having with this is that on long documents (more than 8 pages), Hazel issues a Growl notification that the script failed on the file while Acrobat is still running OCR. All files after the long one fails, unless I restart Acrobat.

My question is: Is there a timeout in Hazel for how long it waits for an AppleScript to complete? If so, is there a way around it?

I'm running Hazel 2.1.1 on a Macbook Pro running Mac OS 10.5

Thanks.
thecookieman
 
Posts: 1
Joined: Tue Nov 06, 2007 9:12 am

Wed Nov 14, 2007 4:44 pm • by Mr_Noodle
There's no explicitly set timeout though it's possible that there's a default timeout being used. But to make sure it is indeed a timeout, check the logs ("View Log" in the "Info" pane) and see what the actual error is. Since subsequent calls are failing, I wonder if Acrobat threw an error for some other reason.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron