How to define system-wide document class?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
seaktf
Posts: 22
Joined: Tue Mar 02, 2004 10:44 am

How to define system-wide document class?

Post 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?
seaktf
Posts: 22
Joined: Tue Mar 02, 2004 10:44 am

Post by seaktf »

Still no answer? :(

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

Post 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.
seaktf
Posts: 22
Joined: Tue Mar 02, 2004 10:44 am

Post 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.
bveldkamp

Post by bveldkamp »

Don't all users have some sort of startup script? You could import registry settings there.
seaktf
Posts: 22
Joined: Tue Mar 02, 2004 10:44 am

Post by seaktf »

I've posted a reply in
http://www.textpad.info/forum/viewtopic.php?t=5603

What're your opinions?
Post Reply