Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 07-22-2019, 05:10 PM   #1
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 283
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
rjwse@aol.com is offline   Reply With Quote
Old 07-22-2019, 06:26 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,585
Karma: 26954694
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:

Click image for larger version

Name:	Annotation 2019-07-23 074441.jpg
Views:	170
Size:	19.6 KB
ID:	172535

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.
BetterRed is online now   Reply With Quote
Old 07-23-2019, 02:40 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,866
Karma: 22666666
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).
kovidgoyal is offline   Reply With Quote
Old 07-24-2019, 07:37 AM   #4
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 283
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.
rjwse@aol.com is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:39 PM.


MobileRead.com is a privately owned, operated and funded community.