Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2025, 03:52 PM   #1
rmarhi
Member
rmarhi began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jun 2018
Device: kobo libra
what is the syntax for using the 'opener' tweak for a file?

Windows 10, Calibre 8.3.0

I am testing using a different Windowa reader for some files (rather than using the default or the calibre viewer) but it only opens the windows default (Sumatra in my case).

As a test, I have deselected "EPUB" in <preferences / behaviour> settings.

I attempted the following permutations:
openers_by_scheme = {'file': 'Acrobat.exe %u'}
openers_by_scheme = {'file': 'C:\\Program Files\\Ado ,...snip...> at\\Acrobat.exe %u'}
openers_by_scheme = {'file': 'C:\\Program Files\\Ado ,...snip...> at\\Acrobat.exe'}


I also tried these (with full pathname as well)
{'epub': 'Acrobat.exe %u'}
{'EPUB': 'Acrobat.exe %u'}


What is the correct syntax / command to have a different reader open the file?

Last edited by rmarhi; 04-21-2025 at 03:56 PM.
rmarhi is offline   Reply With Quote
Old 04-21-2025, 05:39 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: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Use the Open with feature ==>> Configuring and using Calibre's built in Open With

Openers by scheme is for protocols not file types, e.g. I prefer calibre to use Edge rather than my default browser (Firefox) for http.

Code:
openers_by_scheme = {'http*': 'C:/Program Files (x86)/Microsoft/Edge/Application/msedge.exe %u'}
BR

Last edited by BetterRed; 04-21-2025 at 06:24 PM.
BetterRed is offline   Reply With Quote
Advert
Old 04-22-2025, 11:03 AM   #3
rmarhi
Member
rmarhi began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jun 2018
Device: kobo libra
I misunderstood the purpose of the tweak. I appreciate the clarification. It makes sense now. Thanks.
rmarhi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible Tweak: Allow more than one copy of same format (different file) Philosopher Library Management 10 08-15-2021 08:48 PM
One question about syntax mariaclaudia Calibre 16 07-20-2016 07:45 AM
File name syntax change, existing files? martienne Library Management 5 02-09-2014 08:48 AM
Help with Syntax please..... Hendrixxxxxxxx Library Management 4 01-31-2013 12:17 AM
File.seek() syntax/parameters/working mkaluza Sony Reader Dev Corner 2 07-30-2008 06:09 PM


All times are GMT -4. The time now is 06:24 AM.


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