How to"Import Into iBooks" (Mavericks)

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

How to"Import Into iBooks" (Mavericks) 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!
Tetsugaku
 
Posts: 9
Joined: Thu Nov 08, 2012 9:16 am

Re: How to"Import Into iBooks" (Mavericks) 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.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to"Import Into iBooks" (Mavericks) 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
Tetsugaku
 
Posts: 9
Joined: Thu Nov 08, 2012 9:16 am

Re: How to"Import Into iBooks" (Mavericks) Mon Dec 02, 2013 2:49 pm • by Mr_Noodle
I suggest bugging Apple about it: http://www.apple.com/feedback/
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to"Import Into iBooks" (Mavericks) 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!
Tetsugaku
 
Posts: 9
Joined: Thu Nov 08, 2012 9:16 am

Re: How to"Import Into iBooks" (Mavericks) 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
awsisme
 
Posts: 1
Joined: Sun Dec 15, 2013 10:13 am

Re: How to"Import Into iBooks" (Mavericks) 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?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to"Import Into iBooks" (Mavericks) 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
GeekNeck
 
Posts: 27
Joined: Sat Aug 11, 2012 7:26 am


Return to Support