Quick links to procedures on this page:

 
 

Working with scripts

Scripts are short programs that use the Corel SCRIPT programming language to automate simple tasks. For example, you can play a script that applies a preset fill to a selected object.

For CorelDRAW versions 6 through 9, the only method for automating tasks was using the Corel SCRIPT language to create scripts. The Visual Basic for Applications (VBA) engine, which has been supported by CorelDRAW since version 10, can be used to create macros that automate more complex tasks than Corel SCRIPT scripts. Although CorelDRAW continues to support Corel SCRIPT, it is strongly recommended that you use macros, rather than scripts, to automate tasks. For more information, see Working with macros.

You can display and play scripts through the Corel scripts manager docker in the application window. You can also play scripts through the Tools menu.

To display the Corel scripts manager docker Back to Top
1.
 
Click Tools Customization.
2.
 
In the Workspace, Customization list of categories, click Commands.
3.
 
Choose Tools from the list box.
4.
 
Drag the Corel scripts manager button to a command bar, and then click OK.
5.
 
Click the Corel scripts manager button on the command bar.
To play a script Back to Top
1.
 
Click Tools Run script.
2.
 
Choose the script that you want to play.
3.
 
Click Open.
You can also play a script from the Corel scripts manager docker.


Feedback
Was this page helpful? Send feedback.

Copyright 2012 Corel Corporation. All rights reserved.