Hazel and Pdfpen Pro

Does anyone have pdfpen pro v10 set up and working w Hazel

If so how did you call pdfpen Pro to just do the ocr

Thanks,

Steve

Hi.

This is the AppleScript I use.

tell application "PDFpenPro"
	open theFile as alias
	set theDoc to document 1
	if needs ocr of theDoc then
		ocr theDoc
		repeat while performing ocr of theDoc
		end repeat
		save theDoc
	end if
	close theDoc
end tell

My Hazel rule looks like this.

Hazel

5 Likes