Editing a Script Packaged with Harmony
Harmony comes pre-installed with a lot of scripts. These scripts are stored in a read-only location among other files that are packaged by Harmony. Hence, by default, they cannot be edited.
To edit a script that was installed with Harmony, you must copy it to a location where it can be edited. This can easily be done by using the Make Editable button of the Script Editor view. This button creates a copy of the script and stores it in a location where you can make changes to it. Meanwhile, the original copy of the script remains untouched, and it is possible to revert to it later if you want.
In the File list of the Script Editor, select any of the scripts that are packaged with Harmony.TIP Scripts that are packaged with Harmony have Application Resources as their location.
Under the script editor, click on the Make Editable button.
A dialog prompts you to select the location in which to copy the script.
In the drop-down menu, select the location in which you want to copy the script:
User: Saves the script to a directory in your user preferences directory. You will be able to run and edit the script from any scene as long as you are logged in as the same user.
- Scene: Save the script to the scene's scripts sub-folder. Anyone will be able to edit and run the script when working on this specific scene.
- System Variable: Save the script to the directory in the TOONBOOM_GLOBAL_SCRIPT_LOCATION environment variable. This option is only available if this environment variable is set.
Click on OK.
In the File list, the location of the selected script is updated to the one you selected.
Under the script editor, the Make Editable button is replaced with the Save button. This means that you can make changes to the script and save those changes.