Macros
in AutoCamo are very important, they are used in place of hardcoded
options for many file and folder paths, allowing AC to technically be
configured for different types of product.
They can be used in any build options that expect a file path, in addition they can be used in any user defined menu items.
They should not be confused with AutoIt script macros.
Macros start with an '@' character followed by the name or id of the macro then terminated with a '>' character.
Example: @MacroName>
They come in two flavours:
Internal As you might expect are hardcoded and handled entirely by AC, the majority of which are build related.
Pre / user defined Distributed with AC in the form of config files and can be edited or created by the user.
Environment
variables can also be used anywhere a macro can be used and typically
start with the '%' character followed by the the name or id of the
variable and terminated with the '%' character.
Example: %VariableName%
Both
macros and environment variables can contain other macros and
environment variables; although the parse depth is not infinite.