Chapter 1: Introduction

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

Toon Boom Animation has changed the scripting language.

Scripting language used in Harmony 10.3: Qt script
Reason for changing the scripting language: better and faster scripting environment

Toon Boom Animation has changed the scripting language to Qt Script from QSA used in earlier versions. Script's storage is now done as plain text, *.js instead of *.qsa format.

This change to the api was made in the interests of improving the software so that it could support 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 that 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:

http://qt-project.org/doc/qt-4.8/porting-qsa.html

For a general overview of the QT UI toolkit, refer to the following:

http://qt-project.org/doc/qt-4.8/index.html

For a tutorial on coding in JavaScript, refer to the following:

http://docs.oracle.com/javase/tutorial/java

Detailed Scripting Method

Harmony Script Interface Documentation
Script Module Documentation
DbScript Documentation