View Single Post
Old 02-08-2012, 08:50 PM   #448
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
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 View Post
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.
=X= is offline   Reply With Quote