Hi Sean,
We meant to post this earlier for answer to your original post:
Yes, you can certainly use the Python scripting language with BlueZone. First, make sure you have installed the Win32 package for Python, for example by running a Cmd prompt As Administrator:
python -m pip install pywin32
This will provide the Win32 API in Python and will also support invoking COM objects in your Python scripts. In your scripts include the import statements:
import win32com.client
import pythoncom
Now you can invoke and use BlueZone objects and APIs in Python, as a simple “hello world” example:
import sys
import os
import win32com.client
import pythoncom
if __name__ == '__main__':
pythoncom.CoInitialize()
bzo = win32com.client.Dispatch("BZWhll.WhllObj")
bzo.Connect('');
bzo.SendKey('hello world ');
bzo.Disconnect();
To run the script, save the example to a .py script file, then start a BlueZone session and connect it to your host system. In a Cmd prompt execute the command:
python c:\mypath\myscript.py
The BlueZone Host Automation objects documentation (Chapter 3 in Bzsh.pdf; or select Help-Help Topics within BlueZone Script Host) applies to any scripting language, even though the samples in the documentation use the Basic language syntax.
Does this help?