Scripts are edited using the BlueZone Script Editor (bzse.exe) application which is launched from the BlueZone menu bar by selecting and selecting the desired script. Choosing a script that ends in .bzs results in the launching of the BlueZone Script Editor application with the requested script displayed in the editing region
as shown in the BlueZone Script Editor example below.
BlueZone Script Editor is a GUI tool allowing users to drag Script Events into the Script flow, change the order of events,
and delete previously recorded events. BlueZone Scripts support a proprietary mechanism called Wait_Ready that ensures the
host is ready to accept input, even when using TN3270 or TN3270E.
Advantages
|
• |
They are easy to record. |
|
• |
They are easy to edit with BlueZone Script Editor. |
|
• |
They are keyboard lock state aware. |
|
• |
They support advanced functions like wait for, watch for, text input, etc. |
|
• |
They can execute other programs using the Run command. |
|
• |
They can run BlueZone menu commands (Copy, Paste, Print Screen). |
|
• |
They can accept variables passed from a BlueZone Web-to-Host Object Tag. For example, Login ID and Password generated dynamically
by the web application and used to sign the user into the mainframe.
|
|
• |
The BlueZone administrator can control whether or not end users can record and play scripts or only play scripts. Refer to
Control scripting access for more information on this feature.
|
Disadvantages
|
• |
They do not support text input variables. |
|
• |
They do not support file I/O. |
|
• |
There is no external application integration. |
The following is an example of a BlueZone proprietary script being displayed for editing in the BlueZone Script Editor:
Figure 11: Script Editor
