Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2015 by Barry MacDonnell. All Rights Reserved.

Page updated Oct 26, 2015

WordPerfect Tips
Main tips page | Browse tips

How to insert 'boilerplate' and/or repeating items

•  QuickWords

•  QuickCorrect

•  QuickMacros and regular macros

•  Insert files

•  Custom templates

•  Styles

•  Shortcut ('hot') keys

•  Floating ('linked') table cells

•  'Faux' variables and variable character styles
(WP10 and earlier)

•  Text variables
(WP10 and later)

•  Corel's ClipBook
(WP10 and later)

•  Other utility programs


'Boilerplate' generally refers to standard or routine blocks of text, which may include graphics. It is sometimes called 'form language' and it rarely changes (if at all) over time. It is inserted in various documents as needed, and can be anything from several standard contract paragraphs to a single signature block or company logo. [This is more or less the opposite of a form, which is a typically a document already filled with static text and spaces for your (variable) input.]

'Repeating items' generally refers to either boilerplate (above) or to unique, single-use material (text and/or graphics) that needs to be inserted in several places in the current document.

Both types of material can be used in the same document. Here's how to create them with the various tools available in WordPerfect (listed in the left sidebar).

QuickWords (Available in WordPerfect 8 and later versions.)

Need to quickly insert blocks of boilerplate material? Try using QuickWords: Just select some text and click on Tools, QuickWords.

[See the QuickWords page for more information on using this feature.]


QuickWords are very easy to create, and they can insert more than just small groups of words such as letter closings, scanned signatures, or special phrases or "boilerplate" paragraphs.

They can also insert tables, watermarks, logos or other graphic images, and even one or more WordPerfect formatting codes (e.g., columns) -- or any combination of these things.

The size of an expanded QuickWord is not usually an issue: Multiple pages full of formatted material can be stored as a single QuickWord!

Another advantage -- shared with QuickCorrect (see next section below) -- is that your hands need not stray from the keyboard since QuickWord abbreviations (i.e., the characters you type into your document) are simple keyboard characters. There is no need to reach for the mouse.


You might not be able to remember all the QuickWord abbreviations you have created (see macro and/or menu solutions in the bullet list below).

Some notes and tips

•  More information:

See the QuickWords page for more information and some tips on using, managing, and backing up your QuickWords [including additional information on the following items].

•  Use them to create envelopes with a custom return address:

You can also use a QuickWord to create custom envelopes with multiple fonts or graphics in the return address of an envelope. Click here for more information about custom envelopes.

•  Organize them for better access with a macro or a menu:

If you have created lots of QuickWords, you can use a macro to display a menu list of them and then insert (and expand) the one you want at the cursor location: see, for example, the PickList macro in the Library or the macro example here. [Also see the tip on the main QuickWords page (here) about recording a macro to do the job of inserting an expanded QuickWord.]

You could also add several macros that insert and expand their QuickWords (see here for an example) to a new drop-down top menu selection or a custom toolbar or even an easy-to-create macro that pops up a basic menu that then plays your selected macro.

•  Note that all QuickWords are stored separately in a special template:

QuickWords are stored in a separate file (QW#XX.WPT, where # is the version number and XX is the country or language code), in the same folder as your currently active default template, and thus may be less likely to become corrupted compared to QuickCorrect entries. But QuickCorrect entries have some advantages, and can be used to help you "speed type" (see below).

•  Migrate them:

To migrate QuickWords to a newer version of WordPerfect, see the QuickWords page. Or see How do I migrate Quickwords to WordPerfect in the Corel Knowledgebase. 

Page Top


[Note: For more on what it is, how to use it, and a dozen useful tips, see the QuickCorrect page.]

QuickCorrect has two related functions:

Function #1. It can be used to automatically correct common typing mistakes.

But for the purpose of using boilerplate text ...

Function #2. It can quickly insert a string of text characters (or symbols) based on  shorthand text (i.e., "expand an abbreviation")

You can set up and use QuickCorrect to instantly convert your easy-to-remember "abbreviation" (or "replace" word) into a desired string of characters. For example, "ABCI" becomes "ABC Incorporated". You can also insert a symbol (e.g., "$Y" becomes "¥") or accented character ("é") as you type.

[The second example used a "trigger" key (here, $) in an unlikely combination as the abbreviation. This is similar to using a trigger key with a QuickWord (see above).]

Some users have called this use of QuickCorrect a form of "speed typing."

Advantages (for function #2)

•  It is somewhat easier to remember QuickCorrect abbreviations than QuickWord abbreviations, since most QuickCorrect abbreviations are "shorthand" representations of the expanded word. [Note that you can also use a "trigger" character, too. For example, "~" (without quote marks).]

•  Moreover, QuickCorrect conversions or expansions will automatically adjust for capitalization.

For example, an abbreviation for "president" might be "prs"; typing "prs" will expand to "president," while typing "Prs" will expand to "President".

For possessives, such as "president's", see the tip below.

For plurals (-s, -es), simply type the extra letters immediately after the QuickCorrect expansion.

•  Unlike QuickWords, abbreviations expand even if they are followed by a punctuation mark. (QuickWords require a space, hard return, or tab to expand.)

•  You can have up to 10 personal (and individually selectable) QuickCorrect word lists (i.e., 10 separate files on disk) -- plus the standard document-specific word list and the default QuickCorrect word list, both of which are always selected since they are always used with the spell checker. Personal word lists can be added/edited via the spell checker's Options button (this is discussed on the QuickCorrect page here).

Disadvantages (for function #2)

•  Unlike QuickWords, this method does not let you insert graphics, tables, or large amounts of text into the document, nor can you include new formatting such as a new font or font attibute (italics, bold, large, etc.).

See also the Notes and tips section on the QuickCorrect page here.

... For more on what it is, how to use it, and a dozen useful tips, see the QuickCorrect page.

Page Top

QuickMacros and regular macros


See Automate your current session tasks with a QuickMacro.

Regular macros 

For some links relating to creating or using regular macros, see Need help creating macros and templates?

To record a regular macro:

First: It often helps to plan the steps and write them down for reference.
Once you know what you wish to record:

•  Click Tools, Macro, Record. When the Record Macro dialog appears, give the new macro a name (spaces are OK), then click Record. You should now be back in your document and the Macro Toolbar should be visible. (If not, be sure to un-tick the menu option, View, Hide Bars.)

•  Type the text you want to insert in the document. Keep it relatively short (512 characters including spaces).

•  When finished, stop recording with the small black-square button (■) on the left end of the Macro Toolbar (alternative: click Tools, Macro, Record once again).

•  Done. The macro is now saved to disk in the Default macro folder specified in Tools, Settings, Files, Merge/Macro. It can be played with Tools, Macro, Play (or Alt+F10) or it can be assigned to a toolbar, menu, or keystroke combination as described here.

[Tip: There is also a short (2:25) YouTube video tutorial (uploaded by a Corel employee in 2009): Recording a basic WordPerfect macro.]

Notes and tips

•  Note that not all things can be recorded in a macro (e.g., styles in WP9+), so some saved macros will need to be edited (Tools, Macro, Edit) to manually add or modify commands to them. See here for more.

•  Signature blocks: Here's a Corel WordPerfect Tutorial on Creating a Signature Block Marco that should help get you started with macros.

•  Menu macros: For some simple "menu" macros -- typically used to type or insert blocks of text -- see Footnote 2.

•  Pick a macro #1: You can use a regular (multi-function) macro (PICKLIST) to instantly type blocks of text, insert disk files, expand QuickWords, play other macros -- all from a single menu "pick list."

•  Pick a macro #2: Similar in action to the above macro is a "two key" macro: see 2Keys. You would simply press one shortcut key combination (e.g., Alt+z) to play the two-key macro, then a second key (e.g., "1") to perform some action such as insert a file, play another macro, etc. 

•  Intermediate to advanced users: It's not a QuickMacro, but ... for those comfortable with regular macros, see Gordon McComb's Document Construction Kit - A Macro for Fast and Easy Document Assembly. Also see Gordon McComb's Macmenu at http://gmccomb.com/vault/. The help file indicates it can insert files as well perform several other functions.

Page Top

Insert files (boilerplate files)

Insert a document (saved on your disk) at the current cursor location with Insert, File


•  Automate with macros: 

If you often use this (Insert, File) method with several files, you can record individual macros to bring the files into the document (also see Footnote 2 for a single macro that displays a menu to let you select a file).

The macros can be played from a menu, keystroke, or toolbar button; see here for how to do this. [For a more flexible and powerful macro, see the PickList macro in the Library. With this macro you can instantly type out symbols, words, or paragraphs; insert disk files; expand QuickWords; or play other macros -- all from a single menu "pick list".]

Page Top

Custom templates (with optional prompts and other automation)

A custom document based on a custom template can also be thought of as "boilerplate," since the document itself can contain text and graphics that remains the same each time you use it.

Using a template-generated custom document is a different approach from using Insert, File (above), since a new document is generated ("spawned") each time you access the template, rather than merely reloading an old document from disk. 


The template is relatively immune from causal editing or accidental deleteion; moreover, since a custom document is spawned each time, the resulting document can be saved under a different name or simply discarded after printing. The template itself remains untouched.

Another big advantage: Custom templates can be automated to insert various material, prompt the user, use built-in macros, etc.

A related concept

Use a keyboard merge to fill in a form document. If you plan to fill in the form in one sitting, you can set up the form as a "merge form" with "keyboard stops". This is a one-choice-to-one-location type of operation. If you need to enter the same information in multiple locations (one-choice-to-several-locations), consider using an automated, prompted template or (in WordPerfect 10 and later versions), text variables.

Page Top


Styles can contain text and other items as well as, or instead of, format codes (or both). Used as information "containers" they can insert boilerplate. See "Variable Character styles" below, and (for general information) Styles

Page Top

Shortcut ('hot') keys

UPDATE: With newer versions of Windows (i.e., Windows Vista and newer), this feature is not as robust as it used to be. You might try using QuickCorrect or QuickWords (or a third-party auto-typing utility) instead. Except for certain limited uses (see Notes below), the information in this section is somewhat more of a historical footnote in the history of WordPerfect than it is a practical feature for most users. Still, if you have used it before and you now have a more recent version of Windows and WordPerfect, you can try it and see if it suits your needs.

- - -

To set up a key or key combination to directly send keystrokes (keyboard characters and non-characters) to your document, see -

Assigning a ... string of keystrokes to a key or key combination (i.e., a "shortcut" or "hot key")

As you will see on that page, you can also assign other things to shortcut keys, such as macros, features, or even external programs.


¤  There may be a limit to the number of characters that you can enter in your document with this method.

¤  Using WordPerfect X3 and later WordPerfect versions with Windows XP/Vista/7 (and possibly later Windows versions) means that what you can enter under the Keystrokes tab is limited:

•  In Windows Vista/7/8 and with up to version WPX3 (but apparently not in a fully patched WPX4 or later) it is even more limited: You have to disable the User Access Control (UAC) in Vista/7/8 to make such text/symbol keystrokes work (script commands still will not work). Disabling the UAC is something that is not generally recommended.

•  In Windows XP you can use only text strings and/or WordPerfect symbols in the Keystrokes pane. You cannot use script commands (i.e., {Alt}, {Space}, etc.).

Page Top

Floating ('linked') table cells

If you have created one or more tables and need to have the contents of certain cells -- such as a column's total -- appear in the text area(s) of your document, use floating cells to duplicate the contents of those table cells elsewhere in the document.

Here's how:

•  Create a table with something in the cell that you wish to have duplicated elsewhere in the document with a floating cell.

•  Position your cursor in the text area, as desired. Click on Table, Create (or Insert, Table in WP9 and earlier), Floating Cell, Create. In Reveal Codes you’ll see a pair of codes -- [Flt Cell><Flt Cell] -- with the cursor between them. This is the "floating cell."
•  Use the Table Formula toolbar that appears when you create a floating cell to insert a formula in the floating cell, or insert the name of a table cell to reference information in that cell.

For example, if you have a single table it will be named Table A by WordPerfect, and if you have the phrase "New York" in cell B1 of that table, then when you create the floating cell (step 2 above), and the cursor is between the codes, click in the Formula field in the toolbar and type this formula:

+Table A.B1

Then click the checkmark button to the left of the Formula field. The contents of cell B1 of the table should immediately show up in the floating cell. (You might have to click the Calculate button to "refresh" the floating cell.)

•  A floating cell can be copied or cut to a new location by opening Reveal Codes and selecting the codes and the text between them. Then copy (or cut) and paste in a new location.

[from David Wallis]: "You can also have one floating cell refer to the contents of another. That's very helpful when you use numbers that need to be repeated in various places in a document. If the number changes, you only need to change it in one place in the document."

Page Top

'Faux' variables and 'variable' Character styles (WordPerfect 10 and earlier)

[Note: See also Text variables below.]

'Faux' variables (for WordPerfect 9 and 10)

Jim Shackleford's FAUXVAR9 macro (for WordPerfect 9/10) mimics WordPerfect 10's new text variables feature (described below).

[Quoted from the Other Authors page:]

Need to insert identical text in several locations that you can change easily and quickly? Here's a macro for WordPerfect 9/10+ to do it (for other WP versions, or to use a Style as an alternative, see below):

FAUXVAR9.ZIP (16,867 bytes) - A WordPerfect 9/10 macro that mimics WP10's new document variables feature. As Jim's overview states:

"WordPerfect 10, part of Corel WordPerfect Office 2002, introduced a new feature – document variables [Ed: these are actually called 'text variables' in newer versions of WordPerfect]. Document variables allow a user to create, save, and retrieve variables which can be placed into a document. This allows the user to simply change the value of the variable in one place and have those changes reflected throughout the document." [Ed.- This includes variables inside headers, footers, notes, etc.]

"FAUXVAR is a WordPerfect macro system which mimics the behavior of document variables through the use of character styles. Up to 99 faux variables can be used in a document. If you wish to create, edit, save or retrieve faux variables, this macro will simplify the procedure. You may still use WordPerfect’s built-in styles editor if you desire."

He also states, "You can use faux variables with WordPerfect 10. You may wish to do this if you share documents with others with earlier versions of WordPerfect."

NOTE: In addition to the method Jim describes to edit a faux variable, you can also double-click the variable's code in the Reveal Codes window.

Copy the macro and its two helper files to your default or supplemental macros folder. You may want to play the macro from a toolbar button or key combination.

The macro has a Help button that explains how to create and edit these variables.

'Variable' Character styles (for WordPerfect 9 and earlier)

For earlier versions of WordPerfect (i.e., WP9 and earlier) that do not have the Insert > Variable feature, you can use a style to duplicate this feature:

Create a Character style that contains the text you want to appear in various places in your document. Then just apply the style in each location (no need to type the text at those locations since it is already "inside" the style itself). Here's how.

•  Click on Format, Styles, Create. This brings up the Styles Editor.

•  Give the new style a name and brief description. Choose "Character" as the Type. Be sure to check the box, "Automatically update style when changed in document."

•  In the Contents field of the Styles Editor, enter (or paste) your text. Format it if desired.

•  Click OK, then Close, to return to the document.

In the document (in an empty area), click Format, Styles, and choose the new style in the left pane, then click Insert. (Or, even easier: select the style from the drop list on your property bar.)

The text should appear in the document, but if you look in Reveal Codes, all you'll see is a pair of [Char Style] codes. Click on any one of these codes to bring up the Styles Editor, make any changes, then close the Styles Editor. The change should appear wherever the style was applied.


¤  This use of a Character style is basically the same idea behind the new Variable feature in WP10 and later versions.

¤  There appears to be a limit of about 4,000 characters that you can use inside a variable or style's Contents field.

Page Top

Text variables (WordPerfect 10 and later versions)

Need to insert the same block of text in several locations -- and be able to make global changes easily and quickly, wherever it appears? Use a 'faux variable' macro, 'variable' character style, or (in WP10 and later versions) a text variable:

"[Text] variables allow you to mark text that you know will change, for example dates, version numbers, or client names. WordPerfect allows you to create a variable. Once you have created a variable you can insert it in [multiple locations in] a document, edit it, or delete it. You can also chose to display the variables in a document." (Corel WP10 Help file.)

•  To create a text variable (WP10 and later versions),
click on Insert, Variable, Create. Give the variable a name (limit=12 characters) and type (or paste) the text into the Contents field, then insert the variable where needed. (The content limit seems to be about 4,000 characters.) You can format the text from the Variables Editor menu, insert graphics, etc.

•  To insert a variable in your document: Position the cursor where you want to insert the variable. Click Insert, Variable. Choose a variable from the Variables list. Click Insert.

Alternative: You can add a button to a toolbar that will allow picking and inserting an existing text variable into the document. See the first TIP below.

•  To delete an instance of a variable at a particular location, delete its [Variable] code in the Reveal Codes window.

•  To edit a variable click Insert, Variable, <choose the variable>, Edit.

Alternative: You can also double-click on any existing [Variable] code in Reveal Codes, or directly on the visible variable text, to bring up the Variables Editor. Make your changes, and your edits will instantly appear in all iterations of that particular variable when you exit the Editor.

Note: Since text variables are a form of style you cannot use Find and Replace (or the macro equivalent) to search inside them.

    •  Notes and tips

    ¤  Insert variables with a toolbar button: Right-click the toolbar and select Edit from the context menu. In the Toolbar Editor that appears, choose the Feature category "Insert," and scroll down in the list to "Variables." Choose it and click on Add Button to add the button to your toolbar. (You can drag the new button to another toolbar location.) Once you have created one or more variables, they will be available from the new button to insert at the current cursor location.

    Related tips:

    •  Once variables have been created and inserted into a document they can be copied to another document by simply selecting the code pair ([Variable><Variable]) in Reveal Codes, copying the codes to the clipboard, and then pasting them into the new document.

    •  See also the tip below about gathering several existing text variable codes together in a single location with a WordPerfect Comment, which "hides" the group from view and from printing. Then only that [Comment] code needs to be copied into another document to duplicate the same variables there. [If you select just the Comment code you can turn it into a QuickWord for future use in any document, assuming it is not already made part of the default template.]

    ¤  Make them more visible: Starting with WP11, you can visually "mark" variables in the document with View, Variables; this applies temporary (blue) >arrow brackets< around each variable.

    ¤  Use "placeholders": You could type a placeholder text string (e.g., "PARTY-1"; "HUSBAND'S NAME"; etc.) in each newly created text variable in a custom template or other saved file, then insert them where needed. Then you could simply edit any instance of a particular variable and change the placeholder (e.g., change "PARTY-1" to "John Smith"). You can enable View, Variables during the editing phase to more easily find the variables in situ; then turn off this feature before printing. [See also using a WordPerfect Comment below.]

    •  To make any unused variables even more visually evident in both the Variables dialog and in the document itself, use an "all Caps" placeholder with brackets, such as "[<-HUSBAND'S-NAME->]". You can even use bold, large relative size, various colors, etc. This should make editing and proofreading the document easier.

    •  If you use such text placeholders, you will want to delete any unused variables from the final draft. This is easily done with the Variables dialog's Delete button.

    •  Alternative to placeholders: You can put the full text into the variables and add various colors, bold, larger relative size, etc., to that text to make them highly visible. Then simply delete these format codes in the Variables Editor for each variable when the document is finished.

    ¤  Specify which variables you want to display (i.e., those in the current document and/or those in the default template) in the Variables list by clicking Options, Settings, and enabling an option in the "Available variables list" area. [Settings also lets you save the variables to either the current document, default template (not always the best idea unless you truly have frequent use for them in a wide variety of new documents), or an additional objects template.]

    ¤  Find a particular variable (and move the cursor to it) with Edit, Go To, <variable>, <select variable name>. Note that you cannot find text in variables with Edit, Find and Replace, since the text is inside the variable itself, which is a style. [But see next tip.]

    ¤  Create a WordPerfect Comment (Insert, Comment, Create) at the top of the document (or other convenient location) and insert one instance of each created text variable into the Comment. You can then modify any or all of them more easily by simply editing the Comment and double-clicking a variable, since they will be conveniently located in one (non-printing) location.

    Related tips:

    •  Use a two-column table inside the Comment, with instructions or copy-and-paste examples in the left column, adjacent to each text variable in the next column. Simply read the instructions, double-click the adjacent text variable and edit it, read the next instruction, double-click the next variable and edit it, etc.

    •  A template macro can be used to immediately find and open this special Comment when a document based on the template is opened or edited. For more on template macros, see here.

    •  If you select just the [Comment] code in Reveal Codes you can turn it into a QuickWord for future use in any document (assuming it is not already made part of the default template).

    ¤  You can use a variable as a chapter title or section title and also insert the variable in a header or footer (or anywhere it is needed).

    •  Once the variable is created and inserted in the body text area, you can make the chapter or section title into a formatted paragraph style (in the body text area of the document) by selecting both of these new codes in Reveal Codes, and applying a heading style (e.g., Heading 1) to them from the Text property bar's Select Style drop list. This will not only add formatting to the title, it will allow the title to show up in a Table of Contents. (The variable's title displayed in the header or footer will not be formatted with the paragraph style. Use normal formatting methods in such structures.)

    •  If you change your mind about the title, just edit the variable with Insert, Variable, <variable name>, Edit. When you change the Contents field, you will change what is displayed in the document.

    •  If you want the title of each section of the chapter to show up in a header (a/k/a "running heads," "dynamic headers"), see the macro, DYNAHEAD.

    Page Top

    Corel's Clipbook clipboard extender (WordPerfect and later versions)

    Use the Corel ClipBook.

    From ClipBook's Help: "Corel Clipbook is a utility that works with any Windows application to store multiple items, called clips, in an unlimited number of clipboards. Clips can be text, sounds, and graphics. Clipboards can be shared with other users over a network."

    Notes and tips

    •  For a "How To" introduction to the ClipBook, see this thread on WordPerfect Universe.

    •  Installing it and removing it: The ClipBook can be separately installed or uninstalled from the Windows Control Panel.

    •  Update (from a post by a Corel employee on Corel's OfficeCommunity.com, 5/9/2013):

    Clipbook is not installed by default on 64-bit versions of Windows due to known compatibility issues with those operating systems.  However, if you would like to install it, you can launch the WordPerfect Office setup again, select "Modify", check "Clipbook" in the feature tree under "Utilities" and click "Begin".

    Page Top

    Other utility programs

    There are many similar programs to the ones below. This is just a sample based on my preferences.

    Asutype ("As-U-Type") by Fanix Software

    PURPOSE: If you are not a touch-typist (or even if you are), this little utility program can correct typos and spelling errors as you type, using one or more user-created lists as well as several standard dictionary lists (US, UK, CA, AUS).

    COMPATIBILITY: It works very well alongside WordPerfect's QuickCorrect, and can make corrections in any Windows program (such as your e-mail program).

    "QUICKCORRECT"-LIKE FEATURE: Its automatic correction feature can expand an abbreviation up to 80 characters, and you can create your own correction lists to load/unload as needed.

    "QUICKWORDS"-LIKE FEATURE: The program can also expand text abbreviations into long blocks of text just like WordPerfect's QuickWords (but unlike QuickWords you cannot include graphics or WordPerfect formatting codes in the expansions). The abbreviations are called "Shortcuts" in As-U-Type, and you can have different shortcut lists for different purposes, and load/unload them as needed. Shortcuts be set to expand with or without a following space. (For the latter, you use the option "No Trigger" and it expands the item immediately as soon as the last character is typed.)

    NOTE: If the same item exists in As-U-Type (correction list or shortcut list) as in WordPerfect (QuickCorrect or QuickWords), As-U-Type will take precedence.

    OTHER FEATURES: AUT learns from your mistakes, and can be automatically turned off in specified programs or manually toggled on and off as needed (LShft+RShft keys). Very easy to use, even with its many features.

    COST: Free 30-day trial; US$39.95 to register.

    Unicode Keyboard by Fanix Software

    PURPOSE: "Unicode Keyboard is a smart OS-level typing assistant software that helps you type any accented and Unicode character on US keyboard without having to learn and remember awkward key combinations. ..." [From their download page. Not yet tested by the WPToolbox.]

    COST: Free 30-day trial; US$19.95 to register.

    by WavGet

    PURPOSE (quoted from their website): "TypeItIn lets you define buttons that will type in any information you want into any application. You can use TypeItIn to fill out forms on the web, or process forms at work. It's a great tool for applications where you frequently type the same thing like creating HTML code or writing standard letters or emails. Another great use is for entering user names and passwords. You can also launch applications or web sites with the click of a button. You can create up to 1000 password protected groups, each with up to 200 buttons. TypeItIn can automatically type in the time, date, month, or day of the week too. In addition, you can also Record your own typing to automatically create buttons."

    NOTE: If you also use As-U-Type (above), TypeItIn will prevent As-U-Type's auto-correction feature from working while TypeItIn is active. Solution: Load each from the Windows launch bar as needed, then unload them from the system tray. Both actions take just a mouse click or two.

    COST: Free 30-day trial; US$19.95 to register.

    COST: Free for personal use.

    PURPOSE: PhraseExpress organizes your frequently used text snippets:

    •  Expand abbreviations and common phrases as you type.
    •  Launch applications by entering text shortcuts.
    •  Autocomplete phrases with the predictive text feature.
    •  Quickly handle email responses.
    •  Works in any Windows program.

    NOTE: PhraseExpress seems to work well with As-U-Type (above). If you use them simultaneously, to take advantage of AUT's auto-correction, it is suggested that you use a different phrase delimiter (e.g., "#") than those you might have used in AUT.

    COST: Free for personal use.

    Page Top

    Footnote 1 

    [Removed: information has been relocated to the QuickCorrect page here.]

    Footnote 2

    Example 1 (a simple macro menu):

    Based on a macro posted by Klaus Pfeiffer at WordPerfect Universe (here), this macro pops up a menu which lets you select any of up to 26 user-created, short text blocks and automatically type your selection at the current cursor location. (If less than 10 menu choices, the menu choices will be numbered 1-9; otherwise they will be lettered A-Z.)

    When the macro is played:

    To select a menu item click it, or select it with <Tab> and press <Enter>, or press the corresponding letter or number. To dismiss the macro without selecting anything, you can just click outside the menu or press the <Esc> key.

    // Macro begins here
    // [Note that the LAST item in the Array list is NOT followed by a semicolon]

    "A bag of apples";
    "A dozen oranges";
    "A very large bunch of bananas"

    If(vSelection != 0)

    // Macro ends here


    • To copy this code into your WordPerfect program to create a working macro, see http://wptoolbox.com/tips/CopyCode.html.

    • To assign the macro to a toolbar, shortcut key, or menu see http://wptoolbox.com/tips/EasyPlay.html

    • To adjust the location of the macro's menu on your screen, see the Menu command (a PerfectScript command, not a WordPerfect command). The third parameter sets the horizontal position in pixels; the fourth parameter sets the vertical position in pixels; leaving both parameters blank (as above) will center the menu on screen. The fifth parameter types the text (here, the menu choice, stored in an array).

    Example 2:

    Here is another version of the above macro, which allows you to do more than simply type out whatever was indicated on the menu itself. It also can have up to 26 menu choices. If there are less than 10 menu choices, the menu choices will be numbered 1-9; otherwise they will be lettered A-Z.

    The menu here is made up of descriptive or instructional labels, not text-to-be-typed as in the previous example. You could use something like "Insert General Disclaimer statement," or similar instructions.

    Using the CaseOf commands in the Switch/Endswitch segment below, the macro would carry out a specific task linked to the menu label choice, such as display a brief message (as this simple example demonstrates); and/or insert an external file (File, Insert); and/or Type("<a string of characters>") as in Example 1 above; etc. It can also Call another routine or even another macro.

    This example also loops back to display the menu unless the QUIT choice is made. To disable looping, remove the Label(Start@) and Go(Start@) commands.

    // Macro begins here

    Label(Start@) // (optional: shows menu unless Quit is chosen)

    // [Note that the LAST item in the Array list is NOT followed by a semicolon]
    "EXIT now"

    MENU(vSelection; ; ; ; Array[])
    CaseOf 1: Messagebox(;"";"You chose Apples")
    CaseOf 2: Messagebox(;"";"You chose Oranges")
    CaseOf 3: Messagebox(;"";"You chose Bananas")
    CaseOf 4: Messagebox(;"";"You chose Cherries")
    CaseOf 5: Messagebox(;"";"You chose Melons")
    CaseOf 6: Messagebox(;"";"You chose Grapes")
    CaseOf 7: Messagebox(;"";"You chose Cantelopes")
    CaseOf 8: Messagebox(;"";"You chose Pears")
    CaseOf 9: Messagebox(;"";"You chose Blueberries")
    CaseOf 10: Quit // (or use Return)
    Go(Start@) // (optional: shows menu unless Quit is chosen)

    // Macro ends here


    • To type a string of characters (up to 512 characters, including spaces) into the document and immediately exit, change the CaseOf commands. For example:
      CaseOf 1: Type("You chose Apples") Return
      Other functions are similar: Use a numbered CaseOf command followed by the code to execute.

    • To copy this code into your WordPerfect program to create a working macro, see http://wptoolbox.com/tips/CopyCode.html.

    • To assign the macro to a toolbar, shortcut key, or menu see http://wptoolbox.com/tips/EasyPlay.html

    • To adjust the location of the macro's menu on your screen, see the Menu command (a PerfectScript command, not a WordPerfect command). The third parameter sets the horizontal position in pixels; the fourth parameter sets the vertical position in pixels; leaving both parameters blank (as above) will center the menu on screen (but -- in recent versions of WordPerfect the menu will be in the upper left corner of the computer screen; see next tip for an alternative to center the menu). The fifth parameter types the text (here, the menu choice, stored in an array).

    • As noted in the previous tip, centering the menu on screen in recent versions of WordPerfect cannot be done by simply leaving the vertical and horizontal parameters blank. But Klaus Pfeiffer posted a way (on WordPerfect Universe here) to center it on the computer screen (not on the WordPerfect window) by adding these lines of code to the top of the macro:

      DllCall Prototype GetSystemMetrics ("User32"; "GetSystemMetrics"; Word!;{Metrics})
      X=GetSystemMetrics (0) / 2
      Y=GetSystemMetrics (1) / 2

      Using this method, the Menu command should then have its vertical and horizontal positions set to "x" and "y", like this:

      MENU(vSelection; ; x; y; Array[])

     Page Top