Scripts
Overview
Scripts are snippets of code that execute within your desktop or davinci page. To add a new script, enter a name for the
script in the name textbox and click add.
Scripts in the Javascript app are written in Javascript. The
Javascript Tutorial
provides a basic tutorial to writing javascript, and
Filtering and Transforming Data
shows specifically some of the tools used for transforming data.
Running a Script
Once a script has been entered into the text area, the script can be run by clicking the run/save button.
Libs
Often times you will want to creata a series of utility functions that will be used in your script. One way to organize this is to
place the utility functions in another script, and then mark the script as a library, by checking the lib checkbox. Whenever
any other script is run in the desktop, the script marked as lib will be prepended to the script, in order to make their functions available to it.