Using Voxler Objects

To access Voxler commands from your script you must create a Voxler Application object. To create an Application object, call the CreateObject function with "Voxler.Application" as the argument. The Application object has one object (CommandApi) and several methods and properties. The CommandApi object has several methods for accessing the modules and module properties in Voxler. Properties are values describing the state of an object. Methods are actions an object can perform. Access properties and methods by typing the name of an object variable, followed by a period, followed by the property or method name.

 

You can use object properties as you would use variables: assign values to properties, branch based on the value of a property, or use the value of a property in calculations. An object's methods are called as you would call subroutines and functions. Use the return values from methods the same as you would use return values from functions.

 

 

See Also

Scripter BASIC Language