I haven't had a chance to apply some of your changes. I'd like to test out the recommended changes on Word2003. And I only have that on my home computer.
Unfortunately I have neither time at work or home at the moment.
Also I'm staring to find it difficult to track some of your changes. I'm wonder if you can just post the exported BAS files and I can run a diff to see all your changes. It will make it easier for us to shared code. It should reduce the chances of typos as well and the chance that you might have omitted a change.
Quote:
Originally Posted by Gauthier
My Bad ThisDocument is actually the template, the document is ActiveDocument.
I'll correct the Post Above to allow save to
HKCU, Document and Template
|
Yep, because the macros lie in the Template document "ThisDocument" is the template. Because we can have several word documents included several BC documents we would have to find what document initiated the BookCreator dialog box and save the values to that document. I think the document unique id can be captured during the initialization of the BookCreator dialog box.
Yep I like the idea of being able to read and write to the HKCU, Doc, Template based on the type of data we are saving.
Not sure if I posted this already but Kovid has confirmed that we can use HKEY_LOCAL_MACHINE\SOFTWARE\calibre\Installer\Inst allPath
to determine the path where calibre is installed.