|
|
Use launchd to replace folder actions
I tried both WatchPaths and QueueDirectories, but still looking for some more detailed info except looking into the source code of launchd. I used it to handle tiffs incoming from a network scanner to a server volume, pass them to Readiris, ocr them and save in another dir as PDF - Acrobat Pro is better scriptable, but the PDFs are not searchable by Spotlight (Acrobat's OCR is a crap, it makes "word" to "w o r d" and Spotlight won't find any word but "w o r d" and - Readiris can ocr much more languages). I tried first with folder actions, but found them unstable and much slower. The reason I splitted into a shell-script and an Applescript is that it leaves the possibility to do more things first with the shell - which is much faster than any AppleScript - like converting images or splitting tiffs. Readiris Pro is a pita to script, I needed System Events to control it, but sure you can get their "corporate edition", which might be better scriptable, no idea but I think so. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.21 seconds |
|