About Scripting

The Harmony Scripting guide contains information which helps you to understand how to use Qt Script, the scripting language supported by Toon Boom Harmony.

Detailed Scripting Method

For details about the scripting nodes, methods, and DbScript documentation, click the links below.

You can also find the help files in the Script Editor view. From the Script Editor menu, select Help > Scripting Interface Documentation.

Move from QSA to QT Script

As of Toon Boom Harmony 10.3, Toon Boom Animation has changed the scripting language. The scripting language has changed to Qt Script from QSA for a better and faster scripting environment than before. Script storage is now done as plain text, *.js instead of *.qsa format.

This change to the API improves the software and supports 64-bit platforms. As always, we have made every effort to enable backward compatibility between this version and earlier versions which used QSA script.

Simple functions should port seamlessly.
Class definitions must follow the new QT Script syntax, so existing scripts may be modified.

Detailed instructions on moving QSA script to Qt Script can be found in the "Moving from QSA to Qt Script" documentation at this link: qt-project.org/doc/qt-4.8/porting-qsa.html

For a general overview of the QT UI toolkit, refer to qt-project.org/doc/qt-4.8/index.html

For a tutorial on coding in JavaScript, refer to https://www.w3schools.com/js