Using Scripts

The Microsoft Windows Script Host allows you to execute scripts written in various languages under a single, unified framework. Microsoft provides the VBScript and JScript scripting languages; other vendors have supplied additional scripting languages (such as PerlScript).

adTempus uses the Windows Script Host to provide extensive support for scripting. This means that adTempus supports any script in any scripting language installed on the adTempus server.

adTempus allows you to create jobs that execute scripts to accomplish external tasks (e.g., running a script that handles FTP download of data), but also allows you to use scripts to customize the behavior of adTempus. Scripts can be used:

Scripts are represented within adTempus by the Script object, which allows you to share scripts among jobs and users, and to restrict the use of scripts with security settings.

If you have subroutines or data that needs to be shared among scripts, you can place this code and data in Script Libraries, which can be referenced from any script.

Information can be shared between scripts within a job by using parameters.

 

Additional scripting topics:

Global variables and procedures available to adTempus scripts

Predefined script libraries

Returning a result from a script

Sending keystrokes to an application

Setting environment variables with a script