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.
•
In the Scripts docker, click Load , and then choose the folder where the script is located.
1 .
Click Tools Scripts Start Recording .
The Record script dialog box appears.
2 .
In the Macro name box, type a name for the script.
3 .
In the Save Macro In box, click User Scripts .
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 ).
1 .
Click Tools Scripts Record Temporary Script .
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 ).
•
In the Scripts docker, click the script in the list, and then click the Run button .
•
Click Tools Scripts Run Temporary Script .
This option is enabled only after you record a temporary script.
•
In the Scripts docker, click the script in the list, and then click the Edit button .
•
In the Scripts docker, click the script name twice and type the new name.
•
In the Scripts docker, click the script in the list, and then click the Delete button .
2 .
On the General tab of the dialog box, click Change in the Opens with area.
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.
This site works best with JavaScript enabled