Share
 
 

Switch Script dialog

The Switch Script dialog is used to view and edit ruby scripts that define when switch objects (defined in the Baseline Object window) are to be used, based on weather feed data.

The dialog is displayed via the Edit Script button on the Switch Options page of the Baseline Object window.

Import allows an ANSI text file to be imported as a ruby script

Export copies the current script to an ANSI text file

Go To - displays a Go To dialog. Enter a Line number and click OK. The cursor will move to the specified line number.

The box on the bottom right of the page displays the current line number followed by the total number of lines in the script.

Note that only ANSI encoded scripts are supported.

For details on the script language, see the Switch Configuration Script Language topic.

Was this information helpful?