Category : Word Perfect
Archive   : WONDER.ZIP
Filename : WONDER.WP5

 
Output of file : WONDER.WP5 contained in archive : WONDER.ZIP
ÿWPC<
ûÿ2BVS W©Courier 10 PitchÿÿzNxxx
ôU^ôx Œ
@ɇÏÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿDOS Text PrinterDOTEXPRI.PRSÛx Œ
@ɇÏ°}#|xûÿ2:Ð °°°X ÐÕ^Ȇ-ÃÃ(C) Copyright 1989 by Clayton Groom, all rights reservedÁ`B€%NÁÄÄ^Õ WonderMenu: Macro Menu System



WonderMenu is a system of WordPerfect macros that produces "pull-
down" style menus. WonderMenu contains about 30 functions useful
for preparing business forms or other documents. To invoke
WonderMenu, press from within WordPerfect; the menu
system will appear over the current screen.

HOW TO USE WONDERMENU

WonderMenu's macros are organized in eight "pull-down" menus.
Only one menu is visible at a time. The initial menu displayed
when WonderMenu is invoked is the Forms menu. To view other
menus, press the or key or type a
number:
1 Forms 2 Formats 3 Block 4 Merge
5 Tools 6 Edit
(menus 7 and 8 are reserved for future use).

Forms contains macros for several standard business forms.
Formats contains macros for useful miscellaneous formats, such as
labels for Pendaflex folders. Block and Merge contain macros
that can simplify these functions. Tools contains handy
miscellaneous macros.

To select a menu item, either use the arrow keys to move the
cursor to the desired selection, then press , or press the
desired selection's highlighted letter. The macro will begin
running at your cursor's location.

WonderMenu forms have been written for use with an HP LaserJet II
printer -- though will also work with other printers. (use macro
FORMCONV.WPM to convert forms for your printer -see installation
instructrions).

WONDERMENU COLORS

The colors of the pull down menus are controlled by the colors
you select under WordPerfect's SETUP key (Shft-F1). There are
four color settings you may want to alter in order to make the
menu look pleasing on your screen.

BLOCKED TEXT

This color is used for the cursor bar of the menus. It should
contrast greatly from the color for normal text.

BOLDED TEXT

This color is used for the main field of the menu. If you want Ô Ø'Ԍthe menu to stand out from your document, change the background
color of this setting to be different than the color for the
normal editing screen.

UNDERLINED TEXT

This color is used for the second line of the screen topbar. It
should have a different background color than the normal editing
screen.

BOLD & UNDELINED

This color is used for the highlighted pneumonic letters of the
menus. Its background color should be the same as that for Bold,
and its foreground color should be the same as for Underlined.
WonderMenu's Help System
Press from anywhere in the menu system for context-sensitive
help. For instance, pressing while highlighting
"Memorandum" brings up a help screen for the interoffice memo
form; pressing while highlighting "Envelope" brings up a
help screen for the envelope form. (Note that is also Help
on the WordPerfect template.)

The "About WonderMenu" selection in the Forms menu brings up a
window with basic information on WonderMenu.

THE FORMS MENU

Forms is the initial menu WonderMenu offers. The options on this
menu generate and help you complete certain business forms.

The "Forms" macro retrieves a file containing a blank copy, or
template, of the form. The macro prompts you to enter
appropriate details (remember that to enter something means to
type it, then press .) If you wish to leave a space
blank, just press ; you can come back and fill it in
later. The "Forms" macro merges your answers with the template,
producing a completed copy of a form, ready for the main text
body to be typed. (You may also type the text first, move to the
top of the document, type
, and make a selection to produce the desired form). The
"Forms" macro fills in the current date as text automatically.
Save and edit the form just as you would any WordPerfect
document. Some forms insert automatic headers on the second and
succeeding pages; edit these with .

MEMORANDUM

Produces an interoffice memorandum.

FAX COVERSHEET
Ô Ø'ԌThis is for making a FAX coversheet/message.

LETTERHEAD LETTER

This option formats a business letter for letterhead stationery
(with a two-inch margin).

BUSINESS LETTER

This performs exactly the same as the "Letterhead" form, but asks
for the sender's address and centers the document on the page.

ENVELOPE

This formats a long business envelope (9.5" x 4"). It assumes
you are using a pre-printed envelope, so it does not prompt for a
return address. You must have an envelope form in your printer
definition for this to work correctly.

This form is intended to print on an HP LaserJet II. The printer
will pause and display
"PF - FEED COM-10". Adjust the paper feed guides, open the rear
hinged door, and feed in an envelope with the flap beneath and to
the left.


CUSTOM FORM-FILL

You may wish to customize some of the forms -- make a fax form
that always includes your fax telephone number, for instance, or
a memo that automatically fills in your name or your
supervisor's. The "Custom Form-Fill" option helps you to fill in
customized templates you have created. Please referr to the last
section of this document for info on how to customize forms.

To use a new template, select Custom Form-fill in WonderMenu.
The prompt Enter Form Name will appear; enter the name you
assigned to your customized template, such as m. (You need only
enter the filename; the macro will automatically look for it in
C:\DATA\FORMS. If the file is not found in C:\DATA\FORMS, the
macro will look in your current directory for the file.
If you do not enter a file name, then the macro will use your on-
screen document as a template file.) The "Forms" macro will
continue as usual, but will skip the prompts you have already
filled in.

You can create any number of customized templates for each form.
For more information on creating your own templates, see Charles
O. Stewart III's Using Word Perfect 5, page 765.
For more information on the Form-Fill language used in the
template files, see the appendix at the end of this
documentation. Ô Ø'Ԍ
ABOUT WONDERMENU

A window describing WonderMenu appears.The Formats Menu

These macros set up several helpful WordPerfect formats.

BULLET LIST

Makes it easy to format a bullet list -- that is, a list with
bullets, or solid black circles, beside each item.

CHECKLIST

Same as bullet list, but with small open boxes instead of
bullets. Prompts are the same as for bullet list.

PENDAFLEX LABEL

This macro quickly makes label tabs for Pendaflex folders -- and
the typewriter takes one more step toward the door! No prompts
are displayed; after invoking the macro, just type all folder
titles you need, pressing after each one. Then print.
The labels appear in Swiss Roman 12 point. You will need to cut
them by hand or with a paper cutter.

FILECABINET LABEL

Quickly makes file cabinet labels.


THE BLOCK MENU

Some of these macros are useful shortcuts for defining and
manipulating blocks of text or graphics. Others are simply menu-
oriented variations of WordPerfect functions.

If you select a block before typing , then WonderMenu will
automatically go to the block menu. All Block items can work two
ways: If invoked when a block is already defined, they will
perform the menu selection you choose immediately. If invoked
without a block defined, they will force you to define a block
with prompts reading:

Place cursor at beginning of block and press
and
Place cursor at end of block and press .

COPY BLOCK

In addition to copying a block within a document, this selection
copies a block between Document 1 and Document 2. Ô Ø'Ԍ
Copy to: 0 Current page
1 Other Document
2 Page #

Option 1 (Other Document) automatically switches to your other
document. If you don't have a second document, the macro creates
one for you. Option 2 (Page #) prompts for a Page #. Enter the
page you want the block copied to. You will automatically go to
that page.

Move Cursor; press to Retrieve.

You can turn on Reveal Codes to aid positioning the text within
format codes.

MOVE BLOCK

In addition to moving a block within a document, this selection
moves a block between Document 1 and Document 2.

Move to: 0 Current page
1 Other Document
2 Page #
3 Replicate

Option 1 (Other Document) automatically switches to your other
document. If you don't have a second document, the macro creates
one for you. Option 2 (Page #) prompts for a Page #. Enter the
page you want the block moved to. You will automatically go to
that page. Option 3 (Replicate) prompts for a # and replicates
the block the number of times you specified.

Move Cursor; press to Retrieve.

You can turn on Reveal Codes to aid positioning the text within
format codes.

SAVE TO A FILE

This selection saves a block of text to a new file or files.

BLOCK NAME: This prompt asks for the name of the new file that
will contain the block.
If the name you type belongs to a file that already exists, the
macro prompts:

File already exists:

0 Retry: Brings back the BLOCK NAME: prompt.
1 Append: Adds the block of copy to the end of the named file
2 Replace: Deletes everything in the named file and replaces it Ô Ø'Ԍwith the block.

PRINT BLOCK

This option automatically prints a block on the currently
selected printer.

COPY TO ENVELOPE

This macro creates an envelope as the last page of your document
and copies the blocked text (presumably an address) to the proper
position on the envelope. You must have an envelope form in your
printer definition for this to work correctly.


SWITCH CASE

This selection automatically changes the block to all upper- or
lowercase letters.Change Font

This changes the Base Font for a selected block of text. Only
the text of the block will appear in the font that you select.
The text before and after the block remains in whatever font was
set previously in the document. Font changes in the block will
remain.

THE MERGE MENU

These macros make creating and managing secondary merge files
easier. The secondary files created use named fields, which
means you can reference the field by number (1^) or by name
(Last Name^). (For more information on using named fields in
secondary merge files, see the WordPerfect manual.)

MERGE FILE MAKER

This macro makes creating a secondary merge file easier. It
prompts you for input, and does the hard work of putting the
necessary merge codes into the file. It also puts extra codes in
the file header so the "Add to Merge File" option, below, can be
used to add records to a file at a later time.

Enter the number of fields: That is, the number of fields each
record will contain.

Please enter the name of field #1, etc.: For example, field #1
might be called Last Name, field 2 Address Line #1, etc.
Please enter (Field Name): If you had named your first field
Last Name, for example, this prompt would read Please Enter Last
Name. The prompt repeats for every field in the record.

Enter Another? (Y/N) -- That is, do you want to enter another Ô Ø'Ԍrecord? If Y, the above prompts will repeat; if N, the macro
ends.

Note: This macro will not directly make fields of more than one
line. One way to use the macro to make fields of two lines would
be to enter the two lines as one, substituting an asterisk for
the Hard Return (1234 Halibut Way*Icehouse, ME 77777). After the
secondary file is complete, do a Replace , replacing the
asterisks with Hard Returns.

ADD TO MERGE FILE

This makes it easy to add records to an existing secondary merge
file created using WonderMenu's "Merge File Maker" (see above).
Before selecting this option, be sure to retrieve a secondary
merge file created with "Merge File Maker". If no secondary
merge file is displayed on screen, the prompt "Secondary Merge
File must be retrieved first
Name of secondary merge file to retrieve:"
is displayed. Enter the name of the desired secondary merge file.
The macro reads field names from the file's header, then prompts
you for the new information, placing the new records at the end
of the file.

Please enter (Field Name): If you had named your first field
Last Name, this prompt would read Please Enter Last Name. The
prompt repeats for every field in the record.
Enter Another? (Y/N) -- That is, do you want to enter another
record? If Y, the above prompts will repeat; if N, the macro
ends.Address Book Maker

This macro creates secondary merge files in a convenient format
for addresses. Each address is one record, and the name,
address, city, state, and ZIP are each one field. The result is
a useful standard secondary merge file which can be sorted by any
field. WonderMenu's "Add to Merge File" option (see above) works
with "Address Book" files. "Insert Address Codes" and "Address
Label Merge" (see below) are designed to work with "Address Book"
files.

INSERT ADDRESS CODES

Invoke this macro in a primary file at a point where you want to
merge in an address from an "Address Book Maker" secondary file.
It inserts the following codes:
Name^
Address1^
Address2?^
City^, ST^ ZIP^

The question mark in the third line ensures that no blank line is
inserted if some records do not contain Address Line 2. No Ô Ø'Ԍprompts are displayed. Address Label Mrg

This selection makes creating address labels easy, from an
"Address book" file (see above) or from any 4-field secondary
merge file. The macro produces labels formatted for a 30-label
page or a 33-label page. The following window appears:

After an option is selected, the prompt is: Secondary Merge File
Name:. Enter the name of the secondary file, and the merge
begins.
Print like any other document; feed the labels with the label
side up.


THE TOOLS MENU

This menu contains a few "Wouldn't it be nice if..."
macros.Margins In

This macro automatically brings the right margin in to 3" so you
can read a whole line on the screen when using a proportional
font. It marks the new margin with <<>>. The margins
can be automatically restored with the "Margins/Draft Out" macro.

DRAFT IN

This macro marks a document as a DRAFT version. It inserts
<<>> in large letters on your document. When the
document is final, just select "Margins/Draft Out" (see below).

MARGINS/DRAFT OUT

Deletes the symbols <<< >>> and all text/codes contained within
the symbols. It is used to remove codes inserted by the "Margins
In" and the "Draft In" items of this menu. It will also work on
any other text and/or codes you may wish to automatically delete,
as long as they are within the symbols <<< and >>>.
Tab Ruler

This macro superimposes a Tab Ruler across the bottom of your
screen to help you measure tab spacings.

SPLIT SCREEN

This macro splits your screen so two documents can be displayed
simultaneously. You can Switch from the top document to the
bottom document by pressing . The next selection,
"Normal Screen", returns you to a single document.

NORMAL SCREEN

Returns you to a single document screen. Reverses the "Split Ô Ø'ԌScreen" and "Tab Ruler" selections.Personal Submenu

This calls a popup menu macro called -PERSONAL.WPM. This macro
contains comments on how to edit it to run your own macros.
Remember to make a backup!

FORM-FILL COMMANDS

This calls a Popup menu called -COMMAND.WPM. This macroÔ @ Ô Form-Fill: Document Automation System

Form-fill language is a series of macros that provides an easy
way to automatically fill out forms. Using the Form-fill
language, any WordPerfect user can create standard document
formats or Templates. These templates, when interpreted by the
Form-fill macro, prompt the user for information and place it in
specified places in the document. In other words, Form-fill
eliminates the need to write a specific macro to automate every
form you create or use. Now the same macros can automate any
form.


HOW TO USE:

To use the Form-fill language, create a standard WordPerfect
document, with all formatting codes, headers, footers, boxes,
lines etc. in place. Then place Form-fill Variables and Commands
(documented below) into your document.
The commands or variables are placed in your document in the
exact places that you want the text that will replace them to go.
For example, if you want to put a name on the third line of a
document, and you want the name to be bolded, you would put the
variable "{Name}" into the document on the third line between
Bold codes.

For specifics on each of the Form-fill commands please see the
section COMMANDS below.

Once you have created a form, and added appropriate variables,
save the file in your forms directory (usually C:\DATA\FORMS).
The file will be used as a template and will be merged into a
clean editing screen before the Form-fill interpreter is invoked.
This forces you to give the document a name if you want to save
it, rather than saving it under the name of your template file,
and wiping it out.

EXAMPLE:For a simple example of how to use the Form-fill
language, we'll customize the template for an interoffice memo.
We'll make a template that already has your name and department
filled in. First, retrieve the file -MEMO.FRM from
C:\DATA\FORMS.

With -MEMO.FRM in the editing screen, notice the variables
located between the braces. It is these variables that the Form-
fill interpreter looks for and converts to prompts on the screen.
You will replace two of the variables, namely {Person From} and
{Department From} with the name of your department, and your
name.
-Simply move the cursor to the {Person From} variable and delete
it.
-Now type in your name, without braces. Ô Ø'
Ԍ-Move to the {Department From} variable and delete it.
-Now type in your department name, without braces.

Now that you have changed the file, save it under a different
filename in the directory C:\DATA\FORMS. In this case, use your
last name for the filename. (If you write memos for several
people, you can create separate template files for each of them,
and save them under a filename of their last name or their
initials).

You now have a template. What next? Clear your screen to an
empty document and type to call up the WonderMenu Forms
menu. The last item on the first menu, Custom Form-fill, is the
item you want to execute. Either use the cursor keys to
highlight the selection and then press , or type the
mneumonic character C. You will be prompted for a template
filename. Enter the name of the file you just created and then
press . The template should be loaded, and the Form-fill
interpreter started. The two prompts you removed will no longer
appear. Answer the prompts. When you are done, a completed
interoffice memo will be ready to print.


COMMANDS & SYNTAX:

{Variable}

Uses the Variable (any text you want to be used as an on-screen
prompt) in a message box to ask the user for input. Input is
placed in the document at the location where the {Variable} was
located.


{ASK}{Variable}{YES}... {NO}...{ENDASK}

This command will prompt the user for a YES or NO answer to the
question posed by your {Variable}. If a "yes" answer is given,
the text and commands between {YES} and {NO} will be left in the
document and the text between {NO} and {ENDASK} will be deleted.
If a "no" answer is given, the text and commands between {NO} and
{ENDASK} will be left in the document and the text between {YES}
and {NO} will be deleted.


{DATE}

Puts the text of the current date in the document. This command
will work in a header or footer.


{END}
Ô Ø' ԌSignifies:
1. the end of a {REPEAT} command
2. The position where the cursor will stop on completion of the
fill-in process. It should always be the last Form-fill command
in the document.


{IF}{Condition}... {ELSE}...{ENDIF}

Tests the Condition and execute either a "True" block or a
"False" block, based on the results of the test. If the
Condition is true, then the "False" block is deleted, and the
text of the "True" block is left in the document. The text of
the Condition could be set by merging information, such as ages,
in from a secondary merge file. The Form-fill interpreter could
then be invoked to process the {IF} statements. For example:
{IF}{^Fage^>21}...{ELSE}...{ENDIF}

The result would be a conditional merge.
The same could be accomplished by using the {REPLACE} command:

{REPLACE}{Age}...text of document...
{IF}{{Age}>21}...{ELSE}...{ENDIF}

It works the same as the Macro Commands {IF} statement, but does
not allow for nesting.


{MACRO}{Macro Name}

Will execute the macro Macro Name, and continue processing, if
the following condition is kept: The called macro must end in a
Macro Commands {RETURN} command. Macros can be run inside a
Header or Footer but must be written taking into consideration
that they will not be executed from the main editing screen.


{NUM}

Operates inside a {REPEAT} loop only. It puts the number of the
current input line into the document at the location of the {NUM}
command.


{PAUSE}{Variable}

Pauses for direct input into the document, allowing for the
entering of hard returns, format codes, etc. Works the same as
the Macro Language's {PAUSE} command, but allows for multiple
hard returns to be hit. The Variable is used in an input prompt
line at the top of the document.
Ô Ø' Ԍ
{REPEAT}...{END}

Used to replicate a block of a document, including all formatting
codes and {Variable}s between the {REPEAT} and the {END}
commands. After each line or block entered, the interpreter will
ask you if you want to enter another line. If you do enter
another line, the same prompts will be repeated. This is useful
when creating a form that requires lists of information to be
entered.


{REPLACE}{Variable}

Replaces all occurrences of the {Variable} throughout the current
editing screen. It cannot be nested inside any other command,
but can be placed inside a header, footer, or the main editing
screen. After completing the Replace, it will return to the
location in the document where the {REPLACE} command was.


{TAB}

Inserts a tab code into the document. This accomodates a
situation that can arise when WordPerfect will not allow a tab
code to be input because the Form-fill commands on that line
cause it to extend past the last tab set.

  3 Responses to “Category : Word Perfect
Archive   : WONDER.ZIP
Filename : WONDER.WP5

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/