2.2. Accessing Scripts

DataHub scripts run on Gamma, which as we mentioned earlier, starts up whenever the DataHub starts and runs continuously as long as the DataHub runs. You can access DataHub scripts and scripting capabilities by pressing the Scripting button in the Properties window, to display the Scripting and Customization screen. The lower half of the screen shows the Gamma files currently configured in the DataHub:

2.2.1. Starting a New Script

The New button opens a dialog to help you write a script. Please refer to Section 3.1, “Creating a Script” for details.

2.2.2. Adding a Script to the List

The Open button opens a file selector for you to add an existing script to the list. Make sure to choose a Gamma script (with a .g extension).

2.2.3. Editing a Script

The Edit button to opens the selected script in the Script Editor for editing.

2.2.4. Running a Script Manually

The Load Now button runs the selected script.

2.2.5. Running a Script at Startup

To run script automatically at startup, select a script from the list and check the checkbox next to it . The next time you start the DataHub, this script will load and run.

2.2.6. Modifying the List

To remove a script from the list, select it and press the Remove button. To change the order in which the scripts are listed, select a script and press the Move Up or Move Down button.