You can save time by using a JavaScript script to automate a series of repetitive tasks.
The Scripts inspector (File Scripts Scripts) provides easy access to scripts. Scripts are organized in modules. You can use the Scripts inspector to create new modules, and to load and record scripts. You can also use the Scripts inspector to 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.
You can cancel recording a macro, and discard any commands recorded thus far, by clicking File Scripts Cancel Recording.
You can also record, pause, and stop recording a macro by using the Scripts inspector (File Scripts Scripts).
Not all actions can be recorded.
You can cancel recording a script, and discard any commands recorded thus far, by clicking File Scripts Cancel Recording.
You can also pause and stop recording a temporary macro by using the Scripts inspector (File Scripts Scripts).
This option is enabled only after you record a temporary script.
Some features documented in the Help are available exclusively to subscribers. For more information about CorelDRAW subscription, visit coreldraw.com.