Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Exporting Stata windowing preferences under Windows


From   [email protected] (Alan Riley)
To   [email protected]
Subject   Re: st: Exporting Stata windowing preferences under Windows
Date   Fri, 11 Jun 2004 17:33:55 -0500

Roger Newson ([email protected]) asked about mutliple
sets of Stata windowing preferences:
> I would like to be able to save multiple sets of Stata windowing 
> preferences under Windows.
> ...
> Unfortunately, in the Getting Started documentation for Stata 8 under 
> Windows (-[GSW] 18 Setting font and window preferences-)  it is stated: 
> "Note: Only one set of preferences can be saved".  However, I have also 
> been looking at the FAQ at
> 
> http://www.stata.com/support/faqs/win/preferences.html
> 
> in which Kyle Willman & Jeremy Wernow of StataCorp explain how to export 
> and import Stata 7 windowing preferences under Windows NT using the Windows 
> NT Registry Editor. This looks like a way to store multiple windowing 
> preferences in Windows .reg files, for import using the Windows -regedit- 
> Registry Editor. Unfortunately, they state: "This FAQ is for users of Stata 
> 7. It is not relevant for Stata 8."

Although that FAQ talks specifically about Stata 7, it can be generalized
to Stata 8.  However, I should point out that registry-editing under
Windows is inherently dangerous and should only be used as a last resort.
A slip-up while editing the registry can potentially render a Windows
computer unusable.

With that said, Roger could try the same tricks mentioned in the above
FAQ, substituting '8' for '7'.  We have followed a similar structure
in the registry for Stata 8's preferences.

Let me suggest an alternate approach, however.  Stata is smart enough
to store its preferences on a per-user basis.  If I wanted to work
with one set of preferences most of the time under my regular account,
but I sometimes wanted to use Stata (and other software perhaps) for
presentations on a screen with a different resolution, I would set
up two user accounts for myself.  The first one (let's call it just
"alan") would be my normal account used on a day-to-day basis.  The
second one might be "alanproj" (think 'projector' for presentations).

Stata, and many other applications, could then be set up with
preferences specific to each account.  Switching between them is
as easy as logging out of one account and logging into the other.

Depending on Roger's needs, this might be a safer alternative to
editing the registry.


--Alan
([email protected])
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index