Hello
I am new to Applescript.
I have a script with credit to Mac Sparky which OCRs a document in PDF Pen and saves in same place
I want to modify it to save in a different predesignated folder.
Can someone help me and show how to do that.
Here is the script
– Downloaded From: http://www.documentsnap.com
– Last Modified: 2010-09-28
– Includes code from MacSparky http://www.macsparky.com/blog/2009/5/24/pdfpen-ocr-folder-action-script.html
– Includes code from C-Command Software http://c-command.com/scripts/eaglefiler/ocr-with-pdfpen
on adding folder items to this_folder after receiving added_items
try
repeat with added_item in added_items
my ocr(added_item)
end repeat
on error errText
display dialog "Error: " & errText
end try
end adding folder items to
on ocr(added_item)
tell application “PDFpen”
open added_item as alias
tell document 1
ocr
repeat while performing ocr
delay 1
end repeat
delay 1
close with saving
end tell
end tell
end ocr