Working from the PerfectScript utility

You can use PerfectScript either inside WordPerfect or from the PerfectScript utility, which is included with the WordPerfect Office utilities. You can also set the default macro folder and the PerfectScript editor. You must set the PerfectScript macro editor before you can edit a macro.

WordPerfect lets you test for errors from inside the PerfectScript utility. WordPerfect allows you several options for debugging macros. You can debug macros step-by-step so that the macro executes the current commands and stops at the next command. You can also debug macros with a breakpoint so that the macro executes all the commands in the macro until it reaches the breakpoint. Macro breakpoints are set by default to be the beginning of the macro, the end of the macro, and at any errors. WordPerfect also lets you debug a macro by briefly displaying or “animating” each command before it is executed.

Animation allows you to step through macros line by line, automatically bringing up the debugging dialog box at each step so you can check the variables and other calls. You can specify how long the debugger will pause before moving to the next step.

PerfectScript starts automatically when you record or play a macro from a Windows application that supports macros. If you play a macro for an application that is not running, PerfectScript automatically starts the application.


To start PerfectScript from the Windows Start menu

WordPerfect Office btnbacktotopproc Working from the PerfectScript utility
 
On the Windows taskbar, click Start WordPerfect Office onestep Working from the PerfectScript utility Programs WordPerfect Office onestep Working from the PerfectScript utility WordPerfect Office WordPerfect Office onestep Working from the PerfectScript utility Utilities WordPerfect Office onestep Working from the PerfectScript utility PerfectScript.
In Windows XP, click Start WordPerfect Office onestep Working from the PerfectScript utility All programs WordPerfect Office onestep Working from the PerfectScript utility WordPerfect Office WordPerfect Office onestep Working from the PerfectScript utility Utilities WordPerfect Office onestep Working from the PerfectScript utility PerfectScript.

To set the default macro folder in PerfectScript

WordPerfect Office btnbacktotopproc Working from the PerfectScript utility
1.
 
In PerfectScript, click Tools WordPerfect Office onestep Working from the PerfectScript utility Settings.
2.
 
Click the General tab.
3.
 
In the Macro box, click the Browse WordPerfect Office pgx browse Working from the PerfectScript utility button.
4.
 
Choose the drive and folder where you want to store the macro.
5.
 
Click Select.

To set the PerfectScript editor

WordPerfect Office btnbacktotopproc Working from the PerfectScript utility
1.
 
In PerfectScript, click Tools WordPerfect Office onestep Working from the PerfectScript utility Settings.
2.
 
Click the Edit tab.
3.
 
In the Editor path/filename box, click the Browse WordPerfect Office pgx browse Working from the PerfectScript utility button.
4.
 
Choose the drive and folder where the editor is stored.
The PerfectScript editor is stored in the following location: X:\Program files\Corel\WordPerfect Office\Programs\PS150.exe. “X” represents the folder where you installed WordPerfect Office.
5.
 
Click Open.

WordPerfect Office tip Working from the PerfectScript utility

 
You can also edit macros by selecting a macro filename in Windows Explorer and clicking Edit from the QuickMenu.

Working from the PerfectScript utility