Operation Manual

Table Of Contents
Using macros to automate tasks | 687
The recording feature is disabled for some macro projects.
Before recording a macro, make sure that you know exactly which actions you want to record and the order in which you want
to record them. When you start recording, the macro recorder captures every change that you make in a drawing. For example, if
you create a shape, resize the shape, and then change its color, the macro records all the changes. When you are done making the
changes, you must stop recording the macro.
Playing macros
You can perform the actions that are associated with a macro by playing that macro.
You can also play a temporary macro.
Learning more about macros
Corel DESIGNER provides additional resources that contain helpful information about macros. These additional resources, which are located
in the Data folder for the installed software, are described in the following table.
Resource Description and filename
Macros Help file Provides detailed information about the features and functions for
creating macro projects in Corel DESIGNER
draw_om.chm
Macro Programming Guide Provides an instructional approach to creating macro projects for
Corel DESIGNER
Macro Programming Guide.pdf
Object Model Diagram Provides a hierarchical representation of the features and functions
that can be automated in Corel DESIGNER
CorelDRAW Object Model Diagram.pdf
The Macros Help file includes documentation on every feature and function that can be automated in the application. (Collectively, these
features and functions are called an “object model.”) You can easily access the Macros Help file from within the Macro Editor.
For more detailed information about VBA and its programming environment, please consult the Microsoft Visual Basic Help from the
Help menu in the Macro Editor.
For more detailed information about VSTA and its programming environment, please consult the Help menu in the VSTA Editor.
To manually install the macro features
1 On the Windows Control Panel, click Uninstall a program.
2 Double-click CorelDRAW Technical Suite X7 on the Uninstall or change a program page.
3 Enable the Modify option in the wizard that appears, and follow the instructions.
4 On the Features page of the installation wizard, enable the following check boxes in the Utilities list box:
Visual Basic for Applications
Visual Studio Tools for Applications