OCR with PDFPenPro and Applescript

From your noodle to other noodles. Talk about ways to get the most from Hazel. Even exchange recipes for the cool rules you've thought up. DO NOT POST YOUR QUESTIONS HERE.

Moderators: Mr_Noodle, Moderators

OCR with PDFPenPro and Applescript Fri Oct 18, 2013 10:58 am • by evenprimes
This is a very slight correction from AppleSuperlatives' post on "Determine if a PDF needs to be OCR'd & Automate FineReader" at http://www.noodlesoft.com/forums/viewtopic.php?f=3&t=905

The sample code is slightly off, here's the correct (tested!) script:

Code: Select all
tell application "PDFpenPro"
   open theFile as alias
   tell document 1
      ocr
      repeat while performing ocr
         delay 1
      end repeat
      delay 1
      close with saving
   end tell
end tell


I'm making this a new topic since the original title wasn't obvious that it helped with PDFPenPro. All credit goes to AppleSuperlatives.
evenprimes
 
Posts: 2
Joined: Wed Sep 18, 2013 12:56 pm

Re: OCR with PDFPenPro and Applescript Wed Nov 06, 2013 4:25 pm • by Bryan
One modification that may be needed. If you are using the latest version of PDFPenPro, you have to refer to it as "PDFPenPro 6"

Bryan
Last edited by Bryan on Thu Nov 14, 2013 10:34 pm, edited 1 time in total.
Bryan
 
Posts: 25
Joined: Wed Jan 11, 2012 4:34 pm
Location: Maryland

Re: OCR with PDFPenPro and Applescript Thu Nov 07, 2013 8:54 am • by Cassady
Many thanks for this - bookmarked!
Cassady
 
Posts: 45
Joined: Wed Mar 06, 2013 4:34 pm

Re: OCR with PDFPenPro and Applescript Fri Oct 24, 2014 3:58 am • by joy9393
If you are using the latest version of PDFPenPro, you have to refer to it as "PDFPenPro 6"
Get Braindumps 1D0-635 real questions success Isilon quality University of California, San Francisco prepares you well wikipedia in the final exams of Susquehanna University
joy9393
 
Posts: 1
Joined: Fri Oct 24, 2014 3:58 am


Return to Tips & Tricks - DO NOT POST QUESTIONS

cron