Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2021, 05:48 PM   #1
tonytony
Junior Member
tonytony began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: none
How to code R-click "Send To / Open with" win7 (10)

Hi -1st post here - kindly relocate if appropriate - I couldn't decide which sub would best fit my query, so here I am in the 1st!

Currently on Windows 7 64 bit & Calibre 3.37,
though this will apply to my other pending w10 machines eventually --

I'm able to code a R-click functionality for non-integral Windows apps like "Bulk Rename Utility", "PlayTime", "HandBrake", "Media Player Classic", etc --

where the target file(s) open(s) in the target app --
but so far I haven't hit upon the correct coding to make that work with Calibre 3.37 --

Calibre app does open, but doesn't contain the selected title,
much less attempting a bulk opening using "Send To" such as in MPC-HC,
which will load multiple media files in a Playlist & begin playing 1 x 1.

I'm motivated to post here at this moment - but embarrassingly I don't
have a copy of the code I tried in the past -- it would have included the standard "%1" or some similar argument.

I'd greatly appreciate any help to solve this potential time-saver --
my work-around is to open Calibre then drag-drop bulk titles into it,
then of course Calibre does a phenomenal job converting to .pdf.

Thanks again
tonytony is offline   Reply With Quote
Old 05-24-2021, 07:22 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
See the calibre command Line Interface
jhowell is offline   Reply With Quote
Advert
Old 05-24-2021, 10:17 PM   #3
tonytony
Junior Member
tonytony began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: none
Thanks for pointing me to that documentation @jhowell
tonytony is offline   Reply With Quote
Old 05-25-2021, 07:03 PM   #4
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: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by tonytony View Post
Hi -1st post here - kindly relocate if appropriate - I couldn't decide which sub would best fit my query, so here I am in the 1st!

Currently on Windows 7 64 bit & Calibre 3.37,
though this will apply to my other pending w10 machines eventually --

I'm able to code a R-click functionality for non-integral Windows apps like "Bulk Rename Utility", "PlayTime", "HandBrake", "Media Player Classic", etc --

where the target file(s) open(s) in the target app --
but so far I haven't hit upon the correct coding to make that work with Calibre 3.37 --

Calibre app does open, but doesn't contain the selected title,
much less attempting a bulk opening using "Send To" such as in MPC-HC,
which will load multiple media files in a Playlist & begin playing 1 x 1.

I'm motivated to post here at this moment - but embarrassingly I don't
have a copy of the code I tried in the past -- it would have included the standard "%1" or some similar argument.

I'd greatly appreciate any help to solve this potential time-saver --
my work-around is to open Calibre then drag-drop bulk titles into it,
then of course Calibre does a phenomenal job converting to .pdf.

Thanks again
This is pretty basic Windows stuff, which applies to any program.

To add something to a file type's File Explorer->Open With list right click a file of that type and follow the dialogue:
  • click More apps
  • scroll to bottom of list
  • click Look for another app in this PC
  • browse to the calibre install folder (e.g. C:\Program Files\Calibre2)
  • there are three executables you might want in Open With: calibre.exe will add the file as a new book to current library, ebook-edit.exe is the calibre EPUB/AZW3 book editor, and e-book-view.exe is the calibre viewer.

To add a program to File Explorer->Send To
  • create a Windows Shortcut to the program on the desktop
  • open Run program (Winkey+R)
  • type shell:sendto press enter
  • a folder wil open,
  • move the shortcut into the folder

FWIW - I have ebook-viewer.exe and ebook-editor.exe in the EPUB Open With list, and calibre.exe in Send To.

BR
BetterRed is online now   Reply With Quote
Old 05-26-2021, 06:53 AM   #5
tonytony
Junior Member
tonytony began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2012
Device: none
thx -- calibre.exe for "Send To" does it

(says ) turns out I was pointing everything to calibre-portable.exe ,
instead of diving one directory deeper to the proper executables

(btw - solves the "batch" thing too -- all are Welcome at once in the same conversion run --
azw/epub/mobi ---> .pdf

SOLVED
tonytony is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Linux] "Click to open" links don't work drawson1 Calibre 2 01-28-2017 08:00 PM
"Send to Main Memory" greyed out after "Connect to folder" myce Calibre 16 01-15-2014 04:03 PM
Alter Double-click behaviour to "edit metadata" instead of "open ebook?" Feather_Qwill Library Management 5 09-15-2013 11:20 AM
How to remove "Fully read" books from "Last Open" list? pjeanetta PocketBook 4 12-08-2010 10:30 AM
Ballmer: Microsoft is "hardcore" about Win7 Slates kjk News 27 07-14-2010 02:40 PM


All times are GMT -4. The time now is 02:01 AM.


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