View Single Post
Old 07-29-2014, 06:48 PM   #26
McJal'm
Member
McJal'm began at the beginning.
 
McJal'm's Avatar
 
Posts: 16
Karma: 10
Join Date: Jul 2014
Device: iPad2
Quote:
Originally Posted by eschwartz View Post
I'm not a Mac person, or I'd upload the app for you. But see loximuthal's post, and the screenshot he put up.

The code will be:
Code:
if ( "$1" != "" ) then
    while ( "$1" != "" )
        ebook-edit "$1" &
        shift
    end
else
    ebook-edit
endif
I started Terminal and entered '/Applications/calibre.app/Contents/MacOS/ebook-edit' (without the quotes). That started Calibre's editor and so I was able to edit two ePUBs without first having to add them to Calibre's library. Then I quit the Calibre editor, then Terminal.

Am unclear, however, where/when I should add/run the above script, which - if I understand the discussion correctly - would keep the Calibre editor in the dock and have it behave more like an independent drag-and-drop app.

My questions reflect how little I know about the inner workings of my Mac or applications generally:

* Do I enter that script code: in Terminal? Automator? Somewhere in Calibre's preferences?

* Is that script code ALL that I type? OR…,

* Should I type '/Applications/calibre.app/Contents/MacOS/ebook-edit' (in Terminal?) before I type out that script code?
McJal'm is offline   Reply With Quote