Creating Scripts

T-HSCP-001-002

You can create scripts for Harmony by using the Script Editor view.

Created Scene Script

TIP To help familiarize yourself with Harmony scripts, you can open the Script Editor view and look into the TB_sceneCreated script. This script is automatically executed when you create a scene. By default, it sets the scene's length to 60 frames and creates a basic layout containing a single drawing layer. You can customize this script to automatically set up scenes you create to fit your project's needs.
NOTE

When using Harmony Stand Alone, user scripts are stored in the following location:

  • Windows: C:\Users\[username]\AppData\Roaming\Toon Boom Animation\Toon BoomHarmonyAdvanced\1600-scripts
  • macOS: /Users/[username]/Library/Preferences/Toon Boom Animation/Toon BoomHarmonyAdvanced/1600-scripts
  • GNU/Linux: /home/[username]/Toon Boom Animation/Toon BoomHarmonyAdvanced/1600-scripts

When using Harmony Server, user scripts are stored in the following location, depending on the level at which you save them:

  • User: /USA_DB/users/[username]/Harmony Advanced/1600-scripts
  • Job: /USA_DB/jobs/[job_name]
  • Environment: /USA_DB/environments/[environment name]
  • Global: /USA_DB/scripts