You dont need to do windows scripting for this. calibre provides its own python scripting environment.
calibre-debug -e
I dont have the time to read through the code to tell you what you need to change, if you can discover it for yourself, go for it, otherwise use a script.
|