Internal macros

Build macros are only valid during and after a build has been
performed.

IN
Input script file path.
INA
Input script alias (if defined).
OUT
Output executable file path.
ICO
Main application icon path.
A3X
Generated input a3x file path.
CMP
Original unmodified builder path.
A2E
Modified temporary builder path.
BIN
Modified temporary interpreter path.
PVER
Your ProductVersion or builder version.
FVER
Your FileVersion or interpreter version.
UNQ
Unique temp file name (minus extension).
CFG Path of first config or template file loaded.

Build folder macros include trailing '\'
.
SD
Input script directory.
SDP Input script parent directory.
CFGD Config or template directory.
CFGP Config or template parent directory.
TMPD Temporary build directory.

AutoCamo folder macros include trailing '\'
.
CD Install directory.
CDP Install parent directory.
WD Current working directory.

Miscellaneous macros.


DATE
The date in the format: %dd-%mm-%yyyy .
To change the default format string edit the A3C_DATEFORMAT option in the User preference file and restart AC.

TIME
The time in the format: %hh:%ii:%ss .
To change the default format string edit the A3C_TIMEFORMAT option in the User preference file and restart AC.

GUI list explorer macros.


XDRV
Drive part of current explorer path.
Example:
  X:\

XDIR
Directory part of current explorer path.
Example:
  X:\Some\Folder\

XSEL
Selected item string.
Example:
  If file selected    File.ext
  If folder selected  Folder

XOBJ
Full path of selected item.
Example:
  If file selected    X:\Some\Folder\File.ext
  If folder selected  X:\Some\Folder

XEXT
The extension of selected file.
Example:
  txt

Additional Macros

@>
Kit command only commandline parameter token for the right curly brace character } which is the primary command delimiter.

A3C_
Build options can also be used as macros by wrapping the option name in macro characters.

Example:  @A3C_CMP>

If a macro alternative already exists for the option always use the macro instead of this method.

Environment variables


Build environment variables valid during and after the build

A3C_IN Input script file path
A3C_OUT Output executable file path.
A3C_A2E Modified temporary compiler path.
A3C_BIN Modified temporary interpreter path.
A3C_A3X Generated input a3x file path.

A3C_TIME
The time the build started the format: %hh:%ii:%ss .
To change the default format string edit the A3C_TIMEFORMAT option in the User preference file and restart AC.

Other environment variables

A3C_DATE
The date in the format: %dd-%mm-%yyyy .
To change the default format string edit the A3C_DATEFORMAT option in the User preference file and restart AC.
A3C_EXE The full path to A3C.exe
A3C_DIR The directory A3C.exe resides.
A3C_MNU The path to the base menu preference file. (depreciated)
A3C_USR The path to the user preference file.