
Revision 7.10
2/28/2012
2. From the Add Script dialog (figure 46), click the tab corresponding to the type of script,
User or Factory.
User scripts are stored on the Dock Server machine in the directory /var/opt/gmc/scripts.
All scripts used and created by customers should be stored in this directory.
Factory scripts are stored on the Dock Server machine in the directory /opt/gmc/factory
scripts. This directory contains TeledyneWebb supplied scripts that are installed when
the Dock Server application is installed or
upgraded. This directory’s contents can
change with each Dock Server upgrade. Customers should not store scripts in this
directory that they wish to keep.
3. Select the script to add from the tab’s list and its priority from the pulldown list. A
script's priority determines its order in the script queue. Higher priority scripts are
executed before lower priority scripts.
4. Enter any script arguments in the text box adjacient to priority selection. Arguments are
space delimited. If an argument contains a space, then choose a delimiting character that
does not appear in the argument and insert it immediately before and after the argument.
5. Click the Open button to insert the script in the script queue. Dock Server will execute
the script when its priority becomes the highest in the script queue. To cancel adding a
script, click the Cancel button.
Figure 46 shows the factory script “allfilesToDock.xml” being added.
4.4.2 Remove a Script from a Glider's Script Queue
To remove a script from the Dock Server script queue, follow these steps.
1. Activate the appropriate glider tab and click the remove script button in the scripts
control area. This action removes the script from the script queue. Dock Server will start
the next script in the queue.
4.4.3 Pausing a Glider's Script Queue
To pause a selected glider's script queue (and thus pause all scripts), follow these
steps.
Page 57 of 228
Selected script
Figure 4-6. Add Script Dialog.