Using recordings, macros, and automation features

WordPerfect lets you create three types of macros:

 
WordPerfect — is stored in the document it applies to or in a macro library file. Create this macro when your task is contained within WordPerfect.
 
PerfectScript — is stored with a .wcm filename extension. This macro is useful if you want to interact with other WordPerfect Office applications, such as Quattro Pro and Presentations.
 
Visual Basic for Applications (VBA) — lets you develop scripts that are saved in specific projects that use a robust version of the Visual Basic programming language. You can access the VBA editor from WordPerfect.

You can use macros to perform repetitive or complex tasks automatically. A macro performs a series of instructions. For example, you can create a macro that retrieves a file, gives it a new name, and saves it to another format. You can then play the macro to repeat the action.

A macro can consist of keystrokes, programming commands, product commands, and comments. The simplest way to create a macro is to “record” the keystrokes in WordPerfect. You can also write a macro if you want to include non-recordable tasks. (For example, you can define a macro to play until a certain event happens.)

In this section, you’ll find these topics:

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WordPerfect Office contains a minimal set of macros. To access more macros, visit our Web-based resources (see “Using Web-based resources”).

For more information about PerfectScript macros, see the PerfectScript Help (psh.chm)or the “Corel WordPerfect Office X5 User Guide for PerfectScript” (ps_ug.pdf).

For more information about using VBA with WordPerfect, see the “Corel WordPerfect Office X5 User Guide for VBA” (vba_ug.pdf).

Using recordings, macros, and automation features