Note: This topic doesn’t apply to JavaScript scripts.
Corel DESIGNER and CorelDRAW offer a recording feature that lets you create a macro without needing to manually code it. For many simple and repetitive tasks, recorded macros are a quick, efficient solution: They store the sequence of keys that you press and the mouse actions that you perform within the application. You may prefer to create macros by recording them if you are not familiar with the object model for the application, or if you are not sure which objects and methods to use.
In Corel PHOTO-PAINT, actions can be recorded as Corel SCRIPT scripts but not as VBA or VSTA macros. For information on recording scripts, see "Corel scripts" in the main Help file for Corel PHOTO-PAINT (Help Product Help).
If you want to store a recorded macro for future use, you can save it by using the Record Macro dialog box. Saving a recorded macro is particularly useful if you want to extend or customize its functionality by editing it in the Script Editor.
The Record Macro dialog box:
However, if you want to use a recorded macro during the current session only, you can record a temporary macro.
For details on recording macros, see the following procedures:
You cannot record a macro if all available macro projects are locked.
Not all actions can be recorded — some because of their complexity (although many such actions can be manually coded in the Script Editor). When an action cannot be recorded, a comment is placed in the macro code ("The recording of this command is not supported."), but the recording process continues until you stop it. You can view any comments in the code by opening the macro in the Script Editor.
The recording of this command is not supported.
You can specify the default macro project for recordings by right-clicking the project in the Scripts docker, and then clicking Set as recording project. However, you cannot specify a locked macro project.
You can cancel recording a macro, and discard any commands recorded thus far, by clicking Tools Scripts Cancel recording.