Show 

Macro Conversion Help


IBM Host On-Demand Macro Conversion

To convert HOD macros, use the BlueZone Script Converter program supplied with BlueZone called Bzscript.exe.  It can be found on the BlueZone CD or BlueZone image in the BlueZone Desktop\Utils folder or, if  you are using BlueZone Web-to-Host, it can also be found in the BlueZone Web-to-Host\Utils folder.

NOTE  The BlueZone Script Converter program must be run from a DOS prompt.

Procedure
  1. Copy the BlueZone Script Converter program (Bzscript.exe) into to a convenient folder (i.e., C:\Conversion).

  2. To simplify the task, copy the HOD macros to be converted into the same folder and give them an .XML extension.

NOTE  The macro file names cannot contain any spaces.  For example, a macro named "smp zone" must be changed to "smpzone.xml" or "smp_zone.xml".

  1. Open a DOS window and navigate to the folder where you placed the BlueZone Script Converter program and the macros to be converted.

C:\Conversion>

 

  1. Execute the BlueZone Script Converter program and specifying the name of the script(s) to be converted:

C:\Conversion>bzscript *.xml /h /r

 

NOTE  Using the wildcard *.xml will convert all the scripts in the folder.

The /h switch indicates it’s an HOD script to be converted to a BlueZone Visual Basic Script (*.VBS) and the /r switch generates an optional error report.  The /r switch is optional but recommended.

  1. Copy the converted scripts (*.VBS) to the \Scripts folder of the BlueZone working directory so that BlueZone will be able to find them.

For example: C:\Documents and Settings\<username>\My Documents\BlueZone\Scripts

  1. To test, launch a BlueZone session and select Script:Play from the MenuBar, and choose the desired script from the Windows common file dialog and click the Open button.