Using the Display Interface


BlueZone Script Editor

Editing a Script

After you have created a BlueZone script, you may find it necessary to edit the script.  Editing a BlueZone script is easy and can be accomplished with the Script Editor's GUI interface.  There is no need to worry about syntax errors because the GUI editor take care of that for you.

To edit a Script:
  1. From the BlueZone Script Editor MenuBar select File:Open.  A standard Windows File Dialog will display.  Choose the desired script and click the Open button.  The script will appear in the Main Window as shown in the above example.

NOTE  Recording and playing Scripts is BlueZone emulator specific (i.e., the script is limited to just the BlueZone emulator that created it and cannot be used to run other BlueZone emulation clients).

It's important to make sure that you have the correct emulator Mode selected when you are editing a script.  Note that Mainframe is selected in the following screen shot:

TIP  A quick way to make sure you have the correct Mode selected is to visually note which terminal is selected on the ToolBar.  Note that in the above example, the yellow Mainframe terminal located on the ToolBar is selected.

To insert an item into a Script:

You can insert items into the script by using mouse clicks alone, or a combination of your mouse and buttons on the ToolBar.

  1. In the Main Window, use your left mouse pointer to select the point in the script that you wish to add the item.  The item will be added below the selected item.

For example:

To add a Script Event, you can highlight the desired Script Event in the Script Events pane and double click.  The Script Event will be added into the script below the cursor.

or

Highlight the desired Script Event in the Script Events pane and click the Insert Script Event button located on the ToolBar.  The Script Event will be added into the script below the cursor.

SEE  Script Events for more detailed information.

  1. Follow the same procedure to insert LU Functions using the LU Function button on the ToolBar.

SEE  LU Functions for more detailed information.

  1. Follow the same procedure to insert Menu Commands using the Menu Command button on the ToolBar.

SEE  Menu Commands for more detailed information.

To delete an item in a Script:
  1. To delete an item, use your left mouse pointer to highlight the desired item and press the Delete key on the keyboard or click the Delete Entry button on the ToolBar.

To move and item in a Script:
  1. To move an item, use your left mouse pointer to highlight the desired item and drag the item either up or down in the script to the desired location.

To edit the value of an item in a Script:
  1. To edit the value of an item, use your left mouse pointer to highlight the desired item and double click or press the Edit Entry button.


Related Topics:

Script Events

LU Functions

Menu Commands