Creating a Visual Basic script
The command line user interface, within the software, provides you with access to Visual Basic scripts (VBScripts).
You can use any text editor to create scripts. Some VBScript editors such as Microsoft Visual Basic Editor (VBE) or Adersoft VBSEdit, have built-in debuggers to highlight incorrect code. You can write scripts to use parameters that are entered by the user as command line arguments in the software command line interface. Alternatively, you can include a prompt for user input. This allows users to enter parameters if the script is run from within the software.
User created scripts must be stored in My Documents\My AMI 20XX Projects\commands, where xxxx is the software release number.
- Record a macro or type your script into a text editor or Visual Basic debugger.
- Save the macro or script to a file with a *.vbs extension in My Documents\My AMI 20XX Projects\commands where xxxx is the software release number.
The script can be played from the Command Line dialog (View tab > Windows panel > User Interface > Command Line).