Advanced Options

Do not change these settings unless you absolutely have to. We purposefully give no information on how to edit the registry. If you don’t know how to do that, you should not change these settings.

Technical support will not be provided for problems related to changing these settings.

(Just to make it absolutely clear: Editing the registry improperly can very, very seriously damage your computer. Therefore, if you do not know about the registry, or only know a bit about it, do NOT mess with it. You’ve been warned.)

Default Font

When Screen Writer Studio starts up, it selects the default font. This is the font it uses when a font is not expressly set.

Once a script is created, the font for each paragraph is set based on the font settings for that paragraph type. The settings may be to use the default font but once the script is created, the font is set and if the default font is changed, the font settings in existing scripts will not be changed.

The font for paragraph styles is not set until you save them. Once you save them, if the font type matches the default font, it is still set and if you change the default font, the font in the styles will not be changed to match.

You can, of course, go into both document and style settings, and change the font in them to match your change of the default font.

When Screen Writer Studio starts up, it looks for the default font. If you change nothing, it will first look for Courier New, then Courier Old, then Courier. It selects the first of these three it can find. If it can not find any, it selects the font that is the closest match to Courier. It will attempt to select a fixed width font.

You can override this by setting:

HKEY_CURRENT_USER\Software\Windward Studios\Screen Writer Studio\Locale, DefaultFont=”Courier”

Where you put in the font you want in the place of Courier.

Locale

When Screen Writer Studio starts up, it determines the default character set and code page. It also marks any scripts you edit as using that character set and code page.

For performance reasons Screen Writer Studio uses a single character set and code page on all scripts. You can exit Screen Writer Studio and re-start it with a different locale. But you cannot have two scripts open at once using different character sets and code pages.

You can override using the default locale by setting:

HKEY_CURRENT_USER\Software\Windward Studios\Screen Writer Studio\Locale, CharSet=0

HKEY_CURRENT_USER\Software\Windward Studios\Screen Writer Studio\Locale, CodePage=1055

Where you put in the charset and code page you want instead of 0 and 1055. Screen Writer Studio makes no attempt to check that the charset and code page you selected are compatible.

Screen Writer Studio has resources (Menus, Dialogs, and Messages) in several languages. It will use the language that matches the version of Windows you are running. You can override this by setting the following:

HKEY_CURRENT_USER\Software\Windward Studios\Screen Writer Studio\Locale, Resources=0409

The number is entered in hexadecimal and must match the Windows setting for language and sub-language. 0409 is U.S. English, 0413 is Dutch, etc. This must match the file SWSlang0413.dll (Dutch resources).

This only works if you have that Screen Writer Studio resource file in the Screen Writer Studio directory.

Note: Screen Writer Studio will handle DBCS character sets such as Japanese, Chinese, and Korean. It will not handle RTL character sets such as Hebrew and Arabic (it will work but it will go LTR). Nor will it handle complex character sets such as Hindu and Thai.

SignalObjectAndWait

Under Windows NT Screen Writer Studio uses SignalObjectAndWait to turn the background reformat thread on and off. Under Windows 9x it does not because this call is not available. Under Windows 9x a less efficient method is used which could deadlock but is very unlikely to. It is however slower.

To force Screen Writer Studio to use SignalObjectAndWait, set:

HKEY_CURRENT_USER\Software\Windward Studios\Screen Writer Studio\Options, SignalObjectAndWait=TRUE

To force it to not use SignalObjectAndWait set:

HKEY_CURRENT_USER\Software\Windward Studios\Screen Writer Studio\Options, SignalObjectAndWait=FALSE

If you set it to TRUE, the call must still exist in Windows to use it. However, the call does exist in Windows 98 - it just doesn’t do anything. So if you set this to true in Win98, the program won’t run correctly.