34.4.2 Including macros and variables in system commands

System commands can include the following:

Mif2Go macro expressions

user variables you have defined in [UserVars]

macro variables you have defined in [MacroVariables]

the following predefined macro variables (see §28.3.4 Using predefined macro variables):

[spacer]

<$$_basename>

Base file name (without path or extension) of the current FrameMaker source document

<$$_prjpath>

Path (without trailing slash) to the directory where the .prj file resides

<$$_currpath>

Path (without trailing slash) to the current directory where the configuration file resides

Predefined macro variables other than those listed here do not work in system commands.

Include macro expressions

You can use macro expressions in system commands: math and string manipulations, conditional expressions, loops, formatted output, and so forth; see §28.6 Using expressions in macros.

Prompt for user variables

You can have Mif2Go prompt you for values of user variables that appear in system commands; see §34.5 Supplying run-time values for user variables.