Previous Topic: DefinitionsNext Topic: Conventions and Requirements


Script Language Overview

The conventions, definitions, keywords, operators, and general commands that are 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 the keys, key values, and files to retrieve from the source computer. The Store commands can occur only in the Store functions.

Apply function

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

Commands

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