|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
|
I'm using calibre-debug -e command to load a python script and perform some actions. I would like to launch Calibre's GUI after that. Is it possible to do this from the script running in debug mode?
If not... is there a way to execute some python code just on loading of Calibre? I'm asking that because I want to make a very simple modification of the behavior in an iaction in the program, and I need to do this just when Calibre starts. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,631
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look in gui2/main.py for how calibre is launched. You can replicate some of that in your script.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Zealot
![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to start Calibre on Windows in debug mode | hakan42 | Development | 9 | 04-10-2024 06:34 PM |
| epub2pdf script, now with GUI! | Jellby | ePub | 31 | 10-21-2014 04:38 PM |
| Calibre wont start (first time start up) | Mike Railton | Devices | 15 | 05-25-2012 03:14 AM |
| GUI Plugin help for Custom Export Script | iomari | Plugins | 4 | 10-28-2011 10:09 AM |
| Development Debug on Device | mrspaceman | enTourage Archive | 0 | 09-02-2010 06:50 AM |