07-22-2019, 05:10 PM | #1 |
Addict
Posts: 296
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
keyboard shortcut for content server
I have calibre's keyboard shortcuts set up so that E starts the Editor, F starts Foliate, V starts the 'old' ebook viewer. Is there a way to set up a method to start Firefox and the content server on a local network with a single similar one-letter keypress? I am using frequent back-and-forth from Editor to various readers to see if code works on readers differently. Best Regards, Pop
|
07-22-2019, 06:26 PM | #2 |
null operator (he/him)
Posts: 20,912
Karma: 27620686
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The JobSpy plugin has a tool to run arbitrary programs, not sure if they can be assigned a keyboard shortcut - if not maybe that feature could be added.
Otherwise use the OS or 3rd party tools. If Windows then: If you put Firefox as the first to ninth item in taskbar, then WinKey+n key will jump into Firefox (start/restore/bring to top). For me Firefox is Winkey +1, calibre is Winkey+4 etc, viz: If for some peculiar reason I didn't like that, I would write an AutoHotKey (AHK) script. Added - or if Firefox is already running use Alt+Tab I imagine MacOS would have something similar as MS's WinKey+? for its Dock or whatever it's called this week, or you could do it with Automator. For Linux: IIRC bash scripts can be assigned to a keyboard shortcut, or there's an AHK clone called Autokey, I've only ever glanced at it, its scripts use Python. BR Last edited by BetterRed; 07-23-2019 at 03:11 AM. |
Advert | |
|
07-23-2019, 02:40 AM | #3 |
creator of calibre
Posts: 44,314
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just leave the server running, assuming you are running it from within the calibre GUI it should see updated books automatically (you will need to use the Reload book control in the server viewer if the book has already been opened).
|
07-24-2019, 07:37 AM | #4 |
Addict
Posts: 296
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Thank you for that. I did not think to use the "reload book" option. It is very quick.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibredb does not work with content server running (content server is using --enable | Irvin | Server | 3 | 01-08-2019 02:47 AM |
Keyboard Shortcut | Fbone | Calibre | 4 | 11-03-2015 08:15 PM |
Keyboard Shortcut for <li>? | Rand Brittain | Editor | 7 | 02-25-2015 09:15 AM |
Keyboard Shortcut: Rename | CRB_Clive | General Discussions | 1 | 04-01-2014 01:32 PM |
Add keyboard shortcut? | Chris Edwards | Amazon Kindle | 0 | 09-25-2010 01:58 PM |