Page 1 of 1

How to define system-wide document class?

Posted: Mon Dec 13, 2004 10:50 pm
by seaktf
When creating a new document class (as written in the FAQ) TextPad actually creates a document class for the current user in NT platforms. When we switch to another user session, we have to create the same document class again.

Is there a way to create system-wide document class so that no matter which user logs in afterwards, he could have the same classes already defined for him?

Posted: Fri Dec 31, 2004 10:49 am
by seaktf
Still no answer? :(

Not even some fiddling in some .ini file or the registry? :?:

Posted: Fri Dec 31, 2004 1:42 pm
by bveldkamp
After you created the document class, export the appropriate registry key, i.e.

Code: Select all

regedit /E mydoc_class.reg HKEY_CURRENT_USER\software\Helios\Textpad\etc\etc
(I'm not sure about the registry path, and I can't check because I'm on Linux right now, sorry.)

The other user simply imports the file you created.

Posted: Fri Dec 31, 2004 3:11 pm
by seaktf
Well, actually, I knew that. But that only adds a document class to HKEY_CURRENT_USER. If there're a lot of users, or if there're a lot of specific document classes, this is still quite annoying.

I've tried to put it in HKEY_CURRENT_USER\.DEFAULT\....
but that doesn't help.

Posted: Mon Jan 03, 2005 10:00 am
by bveldkamp
Don't all users have some sort of startup script? You could import registry settings there.

Posted: Fri Jan 07, 2005 3:39 pm
by seaktf
I've posted a reply in
http://www.textpad.info/forum/viewtopic.php?t=5603

What're your opinions?