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.
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:
-
A comment step which can be used to describe what the task will do.
-
Creates a variable with the value "Hello World!"
-
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" />