Quote:
Originally Posted by cybmole
thansk - so combining info fromt he last 2 posts - I should add
'EPUB (Calibre)', 'EPUB', 'C:\\Program Files\\Calibre2\\ebook-viewer.exe', None, 'library.png', 'Alt+V+E'
or does the 2nd keystroke have to be a "special "key like shift or ctrl
i see that the other tweak lines in that section of calibre preferences are enclosed in [ ] - so is that also needed ?
maybe I should wait a week & try setting up all my preferences in the new version
|
If you aren't confident to make the change, you may as well wait. You would need at least () brackets around the line above, as this means it represents one "set" of values, contained in the list represented by []. i.e. at a minimum your tweak value would look like this for a single menu item:
[('EPUB (Calibre)', .... )]
For multiple menu items, just add a comma between each () set i.e.
[('EPUB (Sigil)', ....)
,
('EPUB (Calibre)', ...)]
In terms of the keyboard shortcut - I believe you will get in trouble trying to do a key sequence involving Alt+V because it is already used by Calibre as I mentioned above. Multi-key sequences cannot have a single key sequence in conflict as you would have there. Assuming you did find a key combination that is not in use to use as a "multi-key" sequence, I believe the syntax is to comma separate the keys - e.g. 'Alt+1,E' for pressing Alt+1 then E.