View Single Post
Old 01-02-2011, 08:17 PM   #186
redynstruc
Junior Member
redynstruc began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: Kindle
Making the "Open with" plugin work on a Mac

First, let me say, "Thank you" for writing the "Open With" plugin. I am trying to use the advantages of calibre to overcome the disadvantages of the Kindle Reader for my Mac (which, I wouldn't even need if it weren't for the drm issue) and I believe "Open With" will help me to do that.

I have tried to customize the script to work on my Mac and I fear that the fact that I am a long time user of MS-DOS/Windows (I only switched to a Mac a few months ago) is contributing to my befouling the code. Here is the latest version of what I have tried so far:

from PyQt4.Qt import Qt
ofep_open_with_menus = [('Kindle', 'AZW', 'MacintoshHD\/Applications\/Kindle.app', None, None, None)]

I tried removing the "escape" backslashes, but to no avail. The good thing is that when I right-click, the "Open With" submenu appears and the default "Sigil" option presents itself. Now, if I could just get it to show "Kindle" (and then, of course, open the book with my Kindle desktop reader), I would be set.

Any help you can provide will be greatly appreciated.

Last edited by redynstruc; 01-02-2011 at 08:38 PM.
redynstruc is offline