Operation Manual

Table Of Contents
Using macros to automate tasks | 691
To record a temporary macro
1
Click Tools Macros Record temporary macro.
2 Perform the actions that you want to record.
The application begins recording your actions. If you want to pause recording, click Tools Macros Pause recording. Repeat this step to
resume recording.
3
To stop recording, click Tools Macros Stop recording.
The macro is temporarily saved to the default recording project. When the current session is ended, the macro is deleted from that
project.
You cannot record a temporary macro if all available macro projects are locked.
Not all actions can be recorded.
By default, macros are recorded in the GlobalMacros project so that they can be accessed from other documents. However, you
can change the default recording project by right-clicking another project in the Macro Manager docker, and then clicking Set
as recording project. (You cannot specify a locked macro project.) If you want, you can create multiple temporary recordings by
assigning each one to its own macro project.
You can cancel recording a macro, and discard any commands recorded thus far, by clicking Tools Macros Cancel recording.
You can also pause and stop recording a temporary macro by using the Macros toolbar or the Macro Manager docker
(Tools Macros Macro Manager).
To play a macro
Do any of the following:
Click Tools Macros Run macro, or click the Run macro button on the Macros toolbar. From the Macros in list box, choose the
project or file in which the macro is stored. From the Macro name list, choose the macro. Click Run.
In the Macro Manager docker, double-click the macro in the list.
In the Macro Manager docker, click the macro in the list, and then click the Run button .
In the Macro Manager docker, right-click the macro in the list, and then click Run.
To play a temporary macro
Click Tools Macros Run temporary macro.
This option is enabled only after you record a temporary macro.
If you have created multiple temporary macros, you must specify which macro project contains the one that you want to run. Right-
click the project in the Macro Manager docker, and then click Set as recording project.
To access the Macros Help file from within the Macro Editor
1 While in Microsoft Visual Basic for Applications, press F2 to display the Object Browser.
The Object Browser displays all the features and functions that can be automated in the Macro Editor.
2 Choose VGCore from the Library list box.
The Object Browser is updated to display only the features and functions of Corel DESIGNER that can be automated in the Macro Editor.
Collectively, these features and functions are called an “object model.”