07-07-2020, 10:51 AM | #346 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
07-07-2020, 12:09 PM | #347 |
Connoisseur
Posts: 79
Karma: 228
Join Date: Aug 2014
Device: lambda k21
|
|
Advert | |
|
07-07-2020, 12:24 PM | #348 | |
Banned
Posts: 23
Karma: 10
Join Date: Apr 2020
Device: none
|
Quote:
|
|
07-08-2020, 11:24 PM | #349 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
How? I haven't needed to use the built-in Open With and it took me a little bit to find it (right-click the format in the details panel rather than the book in the list). But, I don't see any way to provide parameters to the selected program. Is there a configuration for it somewhere else?
|
07-09-2020, 02:01 AM | #350 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The problem is actually covered in the help:
Quote:
Code:
--inplace,--hyphenate,--calibre |
|
Advert | |
|
09-17-2020, 08:48 PM | #351 |
Custom User Title
Posts: 8,541
Karma: 61120499
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Is there any option in Open With to open the book path with an external program?
|
09-17-2020, 08:55 PM | #352 |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
'o' opens the books FOLDER
from there, you can use the OS context menu on any item |
09-18-2020, 07:25 AM | #353 | |
Wizard
Posts: 1,085
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
Quote:
Note that both approaches will not work for books with no formats. You must have at least one format. The template approach has another problem, because the plugin passes an extra empty string, which will make your file manager open another instance (pointing to you home directory). I think this is a bug in the template feature. @davidfor: As I understand, the purpose of the template feature is to pass the template output in place of the file path. If so, I think lines 178,179 in the file action.py should be modified to prevent the behavior described above: from: Code:
app_args = SafeFormat().safe_format(app_args, mi, 'Open With template error', mi) self.launch_app(external_app_path, app_args, '', wrap_args=False) Code:
path_to_file = SafeFormat().safe_format(app_args, mi, 'Open With template error', mi) self.launch_app(external_app_path, '', path_to_file, wrap_args=False) |
|
09-18-2020, 08:39 AM | #354 | |
null operator (he/him)
Posts: 20,543
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Easiest way to use is a) via right click a format in Book Details, b) the View Specific format tool, or c) a shortcut, e.g. I have assigned Shift+S to EPUB Open with Sigil, Shift+W to DOCX Open with Word, Shift+Q to EPUB Open with Quicklook… etc. BR Last edited by BetterRed; 09-19-2020 at 07:50 AM. |
|
10-19-2020, 08:46 AM | #355 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Note that the next release of calibre is no longer bundling pywin32 so you cant use win32com/win32process in the plugin anymore. To add to recent documents simply use
from calibre.gui2 import add_to_recent_docs add_to_recent_docs(path_fo_file) as for running subprocesses, there is no longer any issue with unicode paths and the python subprocess module, so just use that. |
10-23-2020, 07:55 PM | #356 |
Custom User Title
Posts: 8,541
Karma: 61120499
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If anyone is maintaining this:
This plugin stopped working entirely in the beta - see Kovid's post above. An Open With plugin that errors when trying to open a file isn't very useful Here's the error log: Code:
calibre 5.3 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: Barnes & Noble (1, 2, 16) && Calibre Power Search Plugin (1, 6, 0) && Clean Comments (0, 1, 0) && Comments Cleaner (1, 2, 1) && Count Pages (1, 10, 0) && Drop Search Results (1, 0, 10) && Embed Comic Metadata (1, 5, 0) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && Extract ISBN (1, 5, 0) && FanFicFare (3, 24, 5) && Fantastic Fiction (1, 4, 0) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 3) && Generate Cover (1, 5, 25) && Goodreads (1, 5, 1) && Import List (1, 5, 1) && Job Spy (1, 0, 187) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 0) && Kobo Utilities (2, 11, 8) && KoboTouchExtended (3, 4, 1) && Library Codes (1, 0, 47) && Manage Series (1, 2, 11) && Modify ePub (1, 6, 1) && MultiColumnSearch (1, 0, 85) && Open With (1, 5, 12) && Quality Check (1, 10, 1) && Reading List (1, 6, 17) && Save To Format (0, 0, 6) && SmartEject (2, 3, 0) && View Manager (1, 5, 8) Traceback (most recent call last): File "calibre_plugins.open_with.action", line 198, in open_with File "calibre_plugins.open_with.action", line 223, in launch_app ModuleNotFoundError: No module named 'win32com Last edited by ownedbycats; 10-24-2020 at 01:04 AM. |
10-24-2020, 01:54 AM | #357 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
10-24-2020, 02:15 AM | #358 |
Custom User Title
Posts: 8,541
Karma: 61120499
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I managed to get Calibre's built-in open-with set up with all my programs for the time being (sadly the icon_data garbage problem still exists in the beta, but I fixed the json). Though I keep pressing C to open the full-size cover in Honeyview and having that error pop up.
|
10-30-2020, 07:17 AM | #359 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2020
Location: Somewhere in Spain
Device: iPad
|
Game over?
Plugin does not work on Caliber 5.4.1 64bits
The following error message appears: "ModuleNotFoundError: No module named 'Win32com' " Thanks in advance. |
10-30-2020, 07:47 AM | #360 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
If someone else wants to do it... |
|
Tags |
conversion, kepubify |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |
Gui confusements. | brewt | Calibre | 8 | 12-30-2008 12:16 PM |
Reference Open eBook Forum: Open eBook Publication Structure. IMP. V1.0.1 14 September 2007 | DaleDe | IMP Books | 0 | 09-14-2007 05:06 PM |
iLiad GUI for the iLiad | tribble | iRex Developer's Corner | 1 | 06-01-2007 02:29 PM |