12-08-2012, 07:40 AM | #1 |
Zealot
Posts: 109
Karma: 419
Join Date: Aug 2012
Location: Spain
Device: Kindle Touch
|
Is it possible to start GUI from debug script?
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. |
12-08-2012, 08:47 AM | #2 |
creator of calibre
Posts: 43,850
Karma: 22666666
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.
|
12-08-2012, 12:30 PM | #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 05:34 PM |
epub2pdf script, now with GUI! | Jellby | ePub | 31 | 10-21-2014 03:38 PM |
Calibre wont start (first time start up) | Mike Railton | Devices | 15 | 05-25-2012 02:14 AM |
GUI Plugin help for Custom Export Script | iomari | Plugins | 4 | 10-28-2011 09:09 AM |
Development Debug on Device | mrspaceman | enTourage Archive | 0 | 09-02-2010 05:50 AM |