Posted By

macdrifter on 03/02/10


Tagged

mac adobe OCR Hazel


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tschloss


Script to automate OCR with Hazel and Acrobat


 / Published in: AppleScript
 

  1. try
  2. tell application "Adobe Acrobat Professional"
  3. activate
  4. open theFile
  5. tell application "System Events"
  6. tell process "Acrobat"
  7. tell menu bar 1
  8. tell menu "Document"
  9. tell menu item "OCR Text Recognition"
  10. tell menu 1
  11. click menu item "Recognize Text Using OCR..."
  12. end tell
  13. end tell
  14. end tell
  15.  
  16. end tell
  17. keystroke return
  18. end tell
  19. end tell
  20. save the front document
  21. close the front document
  22. end tell
  23. end try

Report this snippet  

You need to login to post a comment.