The MACRO Command Line (CL) module provides you with a command line interface through which you can perform specific tasks without the need to open individual MACRO modules. You can script recurring tasks and schedule them to be performed automatically. Tasks are performed directly from the Windows command line and there is no other user interface.
See a list of functionality available in the CL module
The name of the Command Line executable is InferMed.M40.MACRO_CL.exe and it is located in the MACRO application folder. If you are executing commands from elsewhere ensure that you specify the full path to the executable.
The command line format uses a forward slash "/" as a separator and always begins with "/". Optional parameters are represented by two forward slashes. Different areas of MACRO functionality require different parameter inputs, all described in the relevant help topics, but some parameters are common to all MACRO calls.
MACRO user credentials must be supplied with every call.
For all Command Line calls, the results are output to the console as a comma-separated message. You can then redirect the results to a suitable log file. If the format of the command line is incorrect, such as too few parameters, too many parameters or missing parameters, a Command Line error will be returned. Otherwise a result code and other information specific to the call will be returned.