Return to Snippet

Revision: 24498
at March 2, 2010 16:16 by macdrifter


Initial Code
try
   tell application "Adobe Acrobat Professional"
      activate
      open theFile
      tell application "System Events"
         tell process "Acrobat"
            tell menu bar 1
               tell menu "Document"
                  tell menu item "OCR Text Recognition"
                     tell menu 1
                        click menu item "Recognize Text Using OCR..."
                     end tell
                  end tell
               end tell
               
            end tell
            keystroke return
         end tell
      end tell
      save the front document
      close the front document
   end tell
end try

Initial URL


Initial Description


Initial Title
Script to automate OCR with Hazel and Acrobat

Initial Tags
mac

Initial Language
AppleScript