Running a Script

To run a script file in SIwave:

  1. Click Tools. From the Scripting area, click Run Script.

    The Open window appears.

  2. Use the file browser to locate and select a *.vbs or *.py script file.
  3. Click Open.

    The script is executed.

To run a script file from a command line:

  1. Type the following:

    <path to siwave.exe> <path to *.siw file> -RunScript <path to *.py file>

    SIwave opens and the script is executed.

    Alternatively, type the following to run the script and close SIwave:

    <path to siwave.exe> <path to *.siw file> -RunScriptAndExit <path to *.py file>

To run a script from the IronPython command shell:

  1. Click Tools. From the Scripting area, click IronPython Comand Shell.

    The command window appears.

  2. Type an appropriate script commands and press Enter.