Thanks. This script works:
-----------------
tell application "Terminal"
do script "calibre /Users/MyName/Documents/Doc.html"
end tell
-----------------
Can't trigger conversion, though. I've tried this:
-----------------
tell application "Terminal"
do script "ebook-convert doc.html doc.epub"
end tell
-----------------
....but Terminal says "Cannot read from /Users/MyName/Documents/Doc.html"
(though the doc exists), regardless of whether I've previously added doc.html to Calibre's catalog
Last edited by Jimmbo; 10-21-2013 at 01:32 AM.
|