This article contains a sample script that is a Python version of ApplicationObject.bas, demonstrates the various properties of the Voxler application object.
To run this script, copy the script below, or click here to download the PY file: ApplicationObject.py.
""" Prerequisite Installs: Voxler Python http://python.org Pywin32 http://sourceforge.net/projects/pywin32/ Optional: Visual Studio Community https://www.visualstudio.com/products/visual-studio-community-vs """ import voxler import common def run(vox, log): """This script outputs information about Voxler.""" log.log("Application name is " + vox.name(), 1) log.log("Application path and name is " + vox.fullname(), 1) log.log("Application path is " + vox.path(), 1) log.log("Voxler version number is " + vox.version(), 1) # If this is run by itself, then call run(). if __name__ == '__main__': vx = None try: vx = voxler.Voxler() run(vx, common) finally: if vx is not None: vx.quit()