Using macros and scripts to automate tasks

You can use macros and scripts to speed up repetitive tasks, combine multiple or complex actions, or make an option more easily accessible. You create macros by using the built-in features for Visual Basic for Applications (VBA) or Visual Studio Tools for Applications (VSTA), while you create scripts by using the Corel SCRIPT programming language.

Using a macro (or script) is similar to using the speed-dialing feature on a phone. On many phones, you can set a frequently dialed number to a speed-dial button; then, the next time you need to dial that number, you can save time by pressing its speed-dial button. Similarly, a macro lets you set the actions that you want to repeat; then, the next time that you need to repeat those actions, you can save time by playing that macro.

To automate a basic task in CorelDRAW, you can use either a macro or a script.

To automate a more complex task in CorelDRAW, you must use a macro. The VBA and VSTA features provide an extensive set of tools for developing powerful macro projects, while the Corel SCRIPT feature provides only a programming language for creating simple scripts.

This section contains the following topic:

 
 

Feedback
Was this page helpful? Send feedback.

Copyright 2012 Corel Corporation. All rights reserved.