beautypg.com

Creating a script – Visara Master Console Center Operations Guide User Manual

Page 51

background image

Chapter 5 Managing Scripts

Operations Guide

51

Creating a script

Scripts can be created that run automatically when certain conditions occur.

To create a script:

1. Select the Script menu Edit option. The Open File window opens (see Figure

19).

2. Click the Cancel button. The Edit File window opens with a blank screen (see

Figure 20).

3. Type the script.
4. Select the File menu Save As option. The Save File window opens. The script

directory is selected by default. Visara recommends saving all scripts in this
directory.

5. Click the Save button. The script automatically compiles. A warning message is

displayed if the script has a problem compiling. If a warning appears, click the
OK button to clear the warning.

Note: Look in the Execution Log Display window to view the errors that

the compiler found in the script. If no errors were found, a message
will be displayed indicating so.

After saving the script, the Edit File window is redisplayed. Click the File menu
Close option of the Edit File window.