Dec 062017
 
Notes from Microsoft on customizing Word for Windows 2.0.
File WD0140.ZIP from The Programmer’s Corner in
Category Windows 3.X Files
Notes from Microsoft on customizing Word for Windows 2.0.
File Name File Size Zip Size Zip Type
README.DOC 15108 5031 deflated

Download File WD0140.ZIP Here

Contents of the README.DOC file


======================================================================
CUSTOMIZING WORD FOR WINDOWS
======================================================================

--------------------------------------------------------------------
| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |
| ACCOMPANY THIS DOCUMENT (collectively referred to as an |
| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| PARTICULAR PURPOSE. The user assumes the entire risk as to the |
| accuracy and the use of this Application Note. This Application |
| Note may be copied and distributed subject to the following |
| conditions: 1) All text must be copied without modification and |
| all pages must be included; 2) If software is included, all files |
| on the disk(s) must be copied without modification (the DOS |
| utility DISKCOPY is appropriate for this purpose); 3) All |
| components of this Application Note must be distributed together; |
| and 4) This Application Note may not be distributed for profit. |
| |
| Copyright 1990-1991 Microsoft Corporation. All Rights Reserved. |
| Microsoft and the Microsoft logo are registered trademarks and |
| Windows is a trademark of Microsoft Corporation. |
--------------------------------------------------------------------


INTRODUCTION
============

Microsoft Word for Windows was created with many different types of
users in mind. The program includes features that allow it to be
modified to suit many personal word processing needs. This application
note shows you how to customize:

- Default formats (including the default font)

- Menu and key assignments for macros and commands

- Display preferences (tabs, field codes, hidden text, etc.)

- The word processing environment (Autosave, typing replaces
selection, etc.)

All modifications you make to these features are saved either in a
template (such as NORMAL.DOT or LETTER.DOT) or in your WINWORD.INI
file. Before making any changes to your word processing environment,
you should make backup copies of the WINWORD.INI and NORMAL.DOT files.
You can always go back to the original settings by restoring the old
WINWORD.INI and NORMAL.DOT files. To create backups, with the
directory containing Word for Windows active, type the following
commands at the DOS prompt and press ENTER after each line:

copy winword.ini winword.bak
copy normal.dot normal.bak

If it becomes necessary to restore either of the original files, with
the directory containing Word for Windows active, type the following
commands at the DOS prompt and press ENTER after each line:

To Modify Use These Commands
--------- ------------------

WINWORD.INI del winword.ini
copy winword.bak winword.ini

NORMAL.DOT del normal.dot
copy normal.bak normal.dot


DEFAULT FORMATS, MENUS, AND KEYSTROKES CREATED USING TEMPLATES
==============================================================

A document template provides a pattern for shaping a final document.
By setting up and using document templates, much time and effort can
be saved. The following elements can be contained in a template:

- Boilerplate text -- text that is the same in every letter, memo,
report, etc. This text is inserted automatically when you create a
new document.

- Styles -- standard formatting for all of your paragraphs,
including the fonts and type sizes you need to use.

- Glossary items -- standard text and graphics that you insert by
typing the name of the glossary entry.

- Macros -- programs that allow you to change menus and key
assignments to fit the type of document you are working on. Macros
also cause Word to perform editing and formatting tasks for you
automatically.

When working with default formats, menus, and keystrokes, you can
choose to have the changes effected on a global basis (that is, for
all documents) or effected only on documents based on a specific
template. Global changes are saved in NORMAL.DOT. You can make
template-specific changes to one of the sample templates provided with
Word for Windows, or you can create a new template of your own.

Creating a New Template
-----------------------

Information about creating new templates can be found in the "Document
Template" section on page 69 of the "Microsoft Word for Windows
User's Reference."

Setting the Default Font
------------------------

The global default font is defined in the Normal style of the
NORMAL.DOT template. The NORMAL.DOT template is used whenever another
template has not been specified. To change the style of the default
font, do the following:

Note: Before beginning this procedure, close any open
documents or templates you have open in Word for Windows.

1. From the File menu, choose New.

2. Select Document in the New box and select Normal in the Use
Template box. Choose OK.

3. From the Format menu, choose Define Styles.

4. Select Normal in the Define Style Name box.

5. Choose Options. Select (turn on) Add to Template.

6. Choose Character. Select the default font characteristics you
want, including font name, point size, color, etc.

7. Choose OK twice.

8. To save the changes, choose Save All from the File menu.

9. Word will ask, "Save changes to Document1?" Choose No.

10. Word will ask, "Save global glossary and command changes?" Choose
Yes.

This method of changing the default font in NORMAL.DOT can be used to
change the fonts in any template. The template attached to the active
document when Format Define Styles is selected will be modified. For
more information about modifying styles, see pages 342-349 in the
"Microsoft Word for Windows User's Reference."


MENU AND KEY ASSIGNMENTS FOR MACROS AND COMMANDS
================================================

If no template has been specified, the NORMAL.DOT template, which
contains the default settings, is used. The settings, styles, and
glossaries in NORMAL.DOT are always available unless they are
overridden by the settings, styles, and glossaries in an active
template.

Creating and Customizing Macros
-------------------------------

Word for Windows allows you to create new macros and to customize
existing macros. The easiest way to write a macro is to record it
using the macro recorder. For information about creating a macro, see
"Recording a Macro" on page 186 of the "Microsoft Word for Windows
User's Reference." Use the keyboard (not the mouse) to select the
steps you want to be recorded in your macro. (Using the keyboard
records your actions more precisely than using mouse movements does.
Mouse movements may use points on the screen that are not located in
consistent locations.)

Most menu and keyboard commands in Word for Windows are actually Word
for Windows macros. If you don't like the way a particular command
works, you can modify the appropriate macro to suit your needs. The
following examples modify the File Save and File Save As commands so
that the Create Backup option is selected (turned on) by default. For
more information on modifying existing macros, see "Macro Edit" on
pages 187-188 of the "Microsoft Word for Windows User's Reference."

1. From the Macro menu, choose Edit.

2. Select (turn on) Show All.

3. Select the FileSave (or the FileSaveAs) macro from the Edit Macro
Name list box.

4. Choose OK.

5. Make the desired modifications to the macro (as shown in the
appropriate table below).

6. When you are finished, choose Close from the File menu.

7. Word will ask, "Keep changes to Global: FileSave (or FileSaveAs)?"
Choose Yes to save the changes.

8. When you exit Word, you will be asked, "Save global glossary and
command changes?" Choose Yes.

Original FileSave Macro Original FileSaveAs Macro
----------------------- -------------------------

Sub MAIN Sub MAIN
Super FileSave Super FileSaveAs
End Sub End Sub


FileSave Macro Modified to Select FileSaveAs Macro Modified to
the Create Backup Option as the Select the Create Backup Option
Default as the Default
--------------------------------- -------------------------------

Sub MAIN Sub MAIN
On Error Goto Finish On Error Goto Finish
Dim FileDlg As FileSaveAs Dlg: Dim FileDlg As FileSaveAs
GetCurValues FileDlg GetCurValues FileDlg
FileDlg.CreateBackup = 1 FileDlg.CreateBackup = 1
If FileDlg.Name = "" Then Dialog FileDlg
Dialog FileDlg Super FileSaveAs FileDlg
Super FileSaveAs FileDlg Finish:
Else End Sub
Super FileSave
End If
Finish:
End Sub

More information on creating and modifying macros can be found in the
"Microsoft Word for Windows Technical Reference."

Assigning Macros to Menus
-------------------------

You may find there are certain task commands you can access only from
the keyboard that you would prefer to access from the menus using the
mouse. With Word for Windows you can add any macro command to any of
the available menus by using the Assign To Menu command from the Macro
menu.

For example, suppose you frequently work with large tables and often
need to select an entire table. You could use a mouse to select the
whole table by clicking on the top or bottom of the table and dragging
to the other end of the table. Using the keyboard, you could place the
insertion point anywhere in the table and press ALT+5 (on the numeric
keypad with NUM LOCK off) to select the entire table. Or, you could
add the Select Table command to the Edit menu. To add a command to a
menu, follow the steps outlined in the "Adding Commands or Macros to
Menus" section on page 195 of the "Microsoft Word for Windows User's
Reference."

Note: You must have the Full Menus option selected in the View
menu when you add a menu option. If the Short Menus option is
selected, you cannot access the Macro menu or choose the Assign
To Menu command. Added menu options will appear only when View
Full Menus is selected.

You can also use the Assign To Menu command to remove seldom-used menu
options from menus to keep the menus uncluttered. This procedure is
outlined in the "Removing Commands or Macros from Menus" section on
page 196 of the "Microsoft Word for Windows User's Reference."

You can also reset all the menu options back to their original
settings. To reset your menus back to their original settings:

1. From the Macro menu, choose Assign To Menu.

2. Choose Reset All.

3. Choose OK.


Note: Resetting your menus will reset ALL menu options, not
just the most recently changed option.

Assigning Macros to Keys
------------------------

In addition to assigning macros to menus, you can assign macros to key
sequences, making Word for Windows quicker and easier to use. For
example, perhaps you frequently switch in and out of draft mode. The
current key combination (ALT, V, D) is quick, but you could change the
key combination to CTRL+A for better proximity and maximum speed. The
following steps illustrate the procedure for assigning macros to keys,
using the draft view example:

1. From the Macro menu, choose Assign To Key.

2. From the Assign Macro Name list box, select ViewDraft. If a macro
already has an assigned key, the key is listed in the Current Keys
box.

3. From the Context box, select Global or Template, as appropriate. If
you are editing a document that uses the Normal template, only
Global will be available.

- Choose Template if you want the key sequence to be available only
to documents using the current template.

- Choose Global if you want the key sequence to be available to all
documents.

4. Press CTRL+A. This sequence will now be listed in the Key box.

- If CTRL+A is currently unassigned, "[currently unassigned]" will
appear in the Key box.

- If CTRL+A is currently assigned to another macro, that macro name
will be listed in the Key box. If you accept a key sequence that
is currently assigned to another macro, the key sequence will be
reassigned to the ViewDraft macro.

5. When you want to accept the key sequence listed in the Key box,
choose Assign.

6. Choose OK.

7. When you exit Word, you will be asked, "Save global glossary and
command changes?" Choose Yes.

You can also unassign most key sequences, whether they are defaults or
not. For the procedure, see "Removing Key Assignments" on page 172 of
the "Microsoft Word for Windows User's Reference."


DISPLAY PREFERENCES
===================

Word for Windows allows you to set up your display with only the
elements you want to see. For example, you may want to see paragraph
marks and tabs but not spaces; or you may need to distinguish regular
spaces from nonbreaking spaces. The options available are described in
the "View Preferences" section on pages 266-267 of the "Microsoft Word
for Windows User's Reference." To select any combination of these
options, do the following:

1. From the View menu, choose Preferences.

2. Select (turn on) the special characters and features that you want
to see in the document window. For example, to show table
gridlines, press ALT+G (or click the check box next to Table
Gridlines). An "x" will appear in the Table Gridlines check box. To
turn gridlines off, press ALT+G again.

3. Choose OK.


WORD PROCESSING ENVIRONMENT
===========================

Word for Windows allows you to customize your word processing
environment. For example, you can automatically save your document at
set intervals of time; change the units of measure to inches,
centimeters, points, or picas; or change settings such as Background
Pagination, Typing Replaces Selection, Prompt For Summary Info, or
Your Name. These options are described in the "Utilities Customize"
section on pages 53-54 of the "Microsoft Word for Windows User's
Reference." To select any combination of these options, do the
following:

1. From the Utilities menu, choose Customize.

2. From the Autosave Frequency box, select the interval you want;
select one of the options in the Unit of Measure box; and select
the options you want to turn on (Background Pagination, Prompt For
Summary Info, Typing Replaces Selection).

3. Choose OK.



 December 6, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)