Introduction to AML (Automation Markup Language)

AML (Automation Markup Language) is the primary internal language. It is a markup language similar to HTML or XML and defines a set of rules for encoding the structure, layout and contents of tasks. AML is powerful and scalable, yet its format is designed to emphasize simplicity and usability, allowing data to be easily interpreted and shared amongst experienced programmers and novices alike. AML is comprised of a variety of available actions/activities and hundreds of functions and instructions with built-in support for variables, constants and expressions.

NOTE: Do not let the fact that there is an underlying "language" scare you away. The Task Builder provides an easy-to-use visual interface layer over the top of AML. It is not necessary to learn the actual internal syntax of any of these commands; this information is documented for advanced users that wish to familiarize themselves with AML. .

BASIC Scripting encompasses all available functions which may be used either as expressions inside any task step by surrounding the function in % signs, or inside a BASIC script by using the BASIC Script action. It is not necessary to use BASIC scripting to use AML. BASIC scripting is only available to extend the built-in capabilities of AML.

The code below displays a simple task as it would appear in AML format. It is comprised of 3 steps:

  1. A comment step which can be used to describe what the task will do.

  2. Creates a variable with the value "Hello World!"

  3. Displays the variable's value in a message dialog.

<!--This is an optional comment. It can be used to describe this task. -->
<AMVARIABLE NAME="Name_of_Variable" VALUE="Hello World!" 
DESCRIPTION="Description of Variable" />
<AMSHOWDIALOG MESSAGE="Hello World!" WINDOWTITLE="Message Box 
Title" POSITION="lower_left" ICON="information" />