Other > Scripting > Scripting Overview > Importing Scripts

Importing Scripts

To use scripts prepared by other users, transfer the *.js files from the computer where the scripts were created to the one that you intend to use. Then use the Script Editor to import the *.js files from where they are saved on your computer.

When working with Harmony Stand Alone, scripts that you created while working on a scene or imported are available for all other projects created on the same computer; there's no need for any kind of transfer or import. You can find your custom, default and imported scripts in:

  • Windows:
  • Toon Boom Harmony Premium: C:\Users\[user_name]\AppData\Roaming\Toon Boom Animation\Toon Boom Harmony\1200-scripts
  • Toon Boom Harmony Advanced: C:\Users\[user_name]\AppData\Roaming\Toon Boom Animation\Toon Boom StageAdvanced\1200-scripts
  • Toon Boom Harmony Essentials: C:\Users[\user_name]\AppData\Roaming\Toon Boom Animation\Toon Boom StageEssentials\1200-scripts
  • Mac OS X:
  • Toon Boom Harmony Premium: /Users/[user_name]/Library/Preferences/Toon Boom Animation/Toon Boom Harmony/1200-scripts
  • Toon Boom Harmony Advanced: /Users/[user_name]/Library/Preferences/Toon Boom Animation/Toon Boom Stage Advanced/1200-scripts
  • Toon Boom Harmony Essentials: /Users/[user_name]/Library/Preferences/Toon Boom Animation/Toon Boom Stage Essentials/1200-scripts

On Mac OS X, the Library folder is a hidden folder. To display the display the folder, told down the Alt key.

  • Linux:
  • /home/user_name/Toon Boom Animation/Toon Boom Harmony/1200-scripts/some_script.js
  • /home/user_name/Toon Boom Animation/Toon Boom StageAdvanced/1200-scripts/some_script.js

With Harmony Server, scripts that you have been working on and import are available at the level you saved them:

  • Global: [Server_Name] > USA_DB > scripts
  • Environment: [Server_Name] > USA_DB > environments > [environment_name]
  • Job: [Server_Name] > USA_DB > jobs > [job name]
  • User: [Server_Name] > USA_DB > users > [user_name] > stage > 1200-scripts

If you deleted default scripts and would like to reload them, you can find them in:

  • Windows: Program Files (x86)> Toon Boom Animation > Harmony 12.1 [edition] > resources > scripts
  • Mac OS X: Applications > Harmony 12.1 [edition] > tba > resources > scripts
  • Linux: /usr/local/ToonBoomAnimation/harmony_12.1/resources/scripts