Scripting Guide > Toon Boom Harmony 10.3 Scripting Guide > Chapter 2: Scripting Overview > Using an External Script Editor
Download Toon Boom DocumentationDownload Documentation

Using an External Script Editor

If you are more comfortable editing your scripts using another editor, Harmony allows you to set an external script editor and use that one instead.

If you do not set an external editor, on Windows and Mac OS X, when selecting the External Editor option, it will launch the registered editor for JavaScript program. (e.g. Visual Studio , XCode or Brackets).

Multiple files can be opened in the same editor, instead of starting a different copy of the editor each time a *.js script is selected.

To set an external editor:

1. In the Script Editor view, in the View menu, select Editor > Set External Editor. In the Script Editor window, click on the Set External Editor Set External Editor Button button.

The Set External Editor window opens.

Set External Editor Window

2. In the External Editor Application, type or paste the complete path to the application, including its name and extension.
For example, if you want to set Adobe Dreamweaver as your external editor, a Windows path would look like this:
C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\Dreamweaver.exe
On Mac OS X, simply specify the application name, and if this application supports the Apple SCript Open Document protocol, it will open in this app.
3. Click on the OK button.

To edit a script in an external editor:

1. In the Script Editor view, in the File list, select the script to edit.
2. In the View menu, select Editor > External Editor or in the Script Editor window, click on the External Editor External Editor Button button.

The external editor opens.

3. In the external editor, edit the script and save the file.
4. In Harmony, refresh the Script Editor view by selecting another script and selecting your edited script again to see the modifications.