Previous Topic: DefinitionsNext Topic: Conventions and Requirements


Script Language Overview

The conventions, definitions, keywords, operators, and general commands described in the topics that follow are specific to DMM Studio.

Before you begin writing a script, review the following information:

Detection function

Verifies that the application for the script exists on the computer. It also contains statements to display options for the user to select and associates these options with their corresponding Store and Apply functions.

Note: Every script must have a Detection function.

Store function

Specifies which keys, key values and files to retrieve from the source computer. Only Store commands can occur in Store functions.

Apply function

Specifies which keys, key values and files to apply to the destination computer. Only Apply commands can occur in the Apply functions.

Commands

All commands return true or false depending on the success of the execution of the command. The script should check the return value for all commands that must be executed without failing. If a necessary command returns false, the script should exit.