Upgrading from QSA Script to Qt Script

As of Toon Boom Harmony 10.3, Toon Boom Animation has changed itsscripting language from QSA script to Qt Script for a better and faster scripting environment. Qt Script is very similar to JavaScript. Scripts are stored in plain text in files with the .js extension, instead of .qsa. This change to the API improves the software and gives access to 64-bit capabilities from the scripting interface.

To avoid complications for users of earlier version, every effort was made to enable backward compatibility with QSA scripts. Simple functions can be ported without making any changes. However, class definitions must conform to the Qt Script syntax. Therefore, scripts that define classes must be updated. For detailed instructions on how to update from QSA to Qt scripts, see the Moving from QSA to Qt Script documentation of the Qt website.

NOTE: For a reference of the QT development environment, refer to the Qt Documentation website.
NOTE: For a tutorial on writing JavaScript, refer to the JavaScript Tutorial section of W3Schools.