JavaScript scripts

To load a script

To record a script

To record a temporary script

To play a script

To play a temporary script

To edit a script

To rename a script

To delete a script

To associate JavaScript files with Notepad


You can save time by using a JavaScript script to automate a series of repetitive tasks. The Scripts docker (Tools Scripts Scripts) lets you load, run, rename, and delete scripts.

You can record scripts and save them for later use. You can also record temporary scripts for actions that you need to repeat only a few times. A temporary script is accessible until a new temporary script is recorded.

*

Before recording a script, 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 script 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 script records all the changes. When you are done making the changes, you must stop recording the script.

You can perform the actions that are associated with a script by playing that script. You can also play a temporary script.

To load a script Back to Top
To record a script Back to Top

 

*

You can cancel recording a macro, and discard any commands recorded thus far, by clicking Tools Scripts Cancel Recording.

You can also record, pause, and stop recording a macro by using the Scripts docker (Tools Scripts Scripts).

 

To record a temporary script Back to Top

*

Not all actions can be recorded.

You can cancel recording a script, and discard any commands recorded thus far, by clicking Tools Scripts Cancel Recording.

You can also pause and stop recording a temporary macro by using the Scripts docker (Tools Scripts Scripts).

To play a script Back to Top
To play a temporary script Back to Top

*

This option is enabled only after you record a temporary script.

To edit a script Back to Top
To rename a script Back to Top
To delete a script Back to Top
To associate JavaScript files with Notepad Back to Top

The features documented in the Help are available in the full version of CorelDRAW Graphics Suite 2020. Some features may not be available in this version of the product.


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