| When using batches and scripts in AMT, it is highly recommended to use the new ComScript functionality provided in the ComScript Module. For older applications, a few utilities from older Lion versions are still available. |
The AMT suite contains a diverse set of utilities that can be used in your script files, which may include batch files, VB scripts, Java scripts, or Perl scripts. Batches and scripts are often used for running reports at night to prevent the daily workload from being disrupted. Through the Job Scheduler in Control Center, the script files can be scheduled and then handled by the job server.
The following AMT batch and script utilities are available:
The Control Online and Wait utilities are located in the Common directory of the generated application. Pinstall is in the AmtTools\Prodinstall directory of the AMT installation, Liondev is in the Lion directory, and Setup is in the Setup directory.
The Liondev executable provides, in addition to the AMT development interface, batch and script options for importing and exporting AMT sources.
Of course, you can also use batch and script utilities from other vendors, such as the Windows services Net Start and Net Stop.
When using the AMT ComScript Module, most of the functionality provided by the batch utilities can also be called from external applications that support COM.
| The executable Wait must know which application it should act on. Therefore, before starting Wait.exe, either set the Windows environment variable AmtAppName to one of the applications or start the executable with the /APP:<Application Name> parameter. |