View Single Post
Old 10-21-2013, 01:15 AM   #3
Jimmbo
Junior Member
Jimmbo began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Oct 2013
Device: ipad/iphone
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.
Jimmbo is offline   Reply With Quote