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), and 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.

You can use either a macro or a script to automate a task in Corel PHOTO-PAINT. A macro is the better choice if you want to write the code that is required to carry out the task (by using VBA or VSTA), while a script is the better choice if you want to record the steps that are required to carry out the task (by using Corel SCRIPT).

This section contains the following topic:

Not all suite components documented in this Help are available in our Trial, Academic, and OEM versions. Unavailable components may include Corel applications, product features, third-party utilities, and extra content files.


Feedback
Was this page helpful? Send feedback. (Internet connection required.)

Copyright 2018 Corel Corporation. All rights reserved.