Scripting languages

This topic provides information about the available scripting languages that you can use to write hooks.

Hooks are scripts or triggers that run under a set of conditions to perform a specific task.

You can write hooks in BASIC (VBScript) for Windows™ and in Perl for Windows system.

If you are using the HCL Compass Web client, you can use either Perl or VBScript. If the Web server is installed on a Windows machine, you can run either Perl or VBScript hooks.

By default, scripts run in BASIC on Windows system. The Windows Scripting Language setting must be the same language as the language that the scripts are written in. For example, if BASIC is selected as the Windows Scripting Language and a hook is written in Perl, that hook is not triggered on Windows.

The option to set the Windows Scripting Language is available on the Properties page for a checked-out schema.

For more information, see Using hooks to customize your workflow.