To create and run JavaScript scripts, you don’t need any special preparation.
Before you can develop and run macros in the software, you may need to set up the automation features for VBA and VSTA.
When you perform a "typical installation" of the software, the VBA and VSTA features are installed by default. However, you can manually install them if necessary. For example, if you want to edit VSTA projects, and you installed Microsoft Visual Studio 2017 after installing CorelDRAW Graphics Suite or CorelDRAW Technical Suite, you must reinstall the VBA and VSTA features manually.
You can also specify various options for VBA.
For details on setting up the automation feature, see the following procedures: