Macro Conversion


IBM PComm Recorded Macro Conversion

In order to convert PComm recorded macros, you must 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 folder..  This program does not get installed with BlueZone, so don't look for it in your BlueZone install directory.

BlueZone Script Converter is a DOS program and must be run from a DOS prompt.

  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 PComm macros to be converted into the same folder.

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

  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 *.mac /p /r

 

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

  1. Where /p indicates it’s a PComm macro being converted to a BlueZone visual basic script and /r generates an error report.  The /r switch is optional but recommended.

  2. 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.