Previous Topic: Support for JavaScriptNext Topic: User Interface Tips and Tricks


Convert Existing Scripts

Because DMM Studio supports scripts written in JavaScript, it converts any script that you want to edit to JavaScript when it loads the script. It stores the converted script in the same directory with the .dnajs extension to ensure that your existing script is not overwritten.

To convert an existing script, follow these steps:

  1. Open DMM Studio.

    DMM Studio opens to display an empty edit window.

  2. Click File, Open, locate and select the script that you want to open.

    The Convert Old Script dialog appears.

  3. Click Convert.

    The script is converted to JavaScript format and appears in the edit window.

    Note: If you want the new script to be stored in a different location, click Browse, select the location, click OK, and click Convert.

    Date: <today’s date>

Note: All variables found in the script have been moved to the global scope. You should remove the variables that are not used globally.