Page 1 of 1

How to"Import Into iBooks" (Mavericks)

PostPosted: Tue Nov 26, 2013 7:32 pm
by Tetsugaku
Hello - I used to watch my ebooks folder and auto import and documents into iTunes to sync to my iPad - now I can't as books need to go into iBooks.

Any ideas?

Cheers!

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Wed Nov 27, 2013 2:22 pm
by Mr_Noodle
It seems that iBooks does not provide AppleScript support so there's no good way to do this. You can use the "Open" action, which has the side effect of importing it but it is a bit more disruptive since it opens the book as well.

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Sun Dec 01, 2013 4:44 pm
by Tetsugaku
Pfff that's a bit rubbish on Apples'a part, bad form. Still, at least I can do something I suppose, with luck they will add some better AS support later.

thanks very much

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Mon Dec 02, 2013 2:49 pm
by Mr_Noodle
I suggest bugging Apple about it: http://www.apple.com/feedback/

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Mon Dec 02, 2013 2:55 pm
by Tetsugaku
Done - if anyone else want s to do the same thing I went to

http://www.apple.com/feedback/ibooks.html

cheers!

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Sun Dec 15, 2013 10:26 am
by awsisme
This appears to work well as an embedded script, from Doug Adams http://dougscripts.com/itunes/category/ibooks/

Code: Select all
using terms from application "iTunes"
   tell application "iBooks" to open theFile
end using terms from


and this way as a an external file.

Code: Select all
on hazelProcessFile(theFile)
   
   -- 'theFile' is an alias to the file that matched.
   -- Make sure to throw errors if you do not want Hazel
   -- to consider this action to have run successfully.
   
   using terms from application "iTunes"
      tell application "iBooks" to open theFile
   end using terms from
   
end hazelProcessFile

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Mon Dec 16, 2013 12:23 pm
by Mr_Noodle
Does this work differently than have Hazel open the file in iBooks via the "Open" action?

Re: How to"Import Into iBooks" (Mavericks)

PostPosted: Sun Sep 24, 2017 7:50 am
by GeekNeck
Thank you awsisme! I have the problem that opening in iBooks has never worked and I just found your solution. Works like a charm.

FYI, when I try the "Open in iBooks" Hazel action, I get this in the log

Code: Select all
2017-09-24 07:39:19.689 hazelworker[12904] Could not set tags for URL file:///Applications/iBooks%20Author.app/: Error Domain=NSOSStatusErrorDomain Code=-5000 "afpAccessDenied: Insufficient access privileges for operation "
2017-09-24 07:39:19.689 hazelworker[12904] Caught exception in rule evaluation of file iBooks Author.app: Could not set tags for /Applications/iBooks Author.app