The Macro Wizard menu option provides access to CatchmentSIM's macro language and predefined macro scripts.
CatchmentSIM's macro language has been designed to provide the ability to export results in any text or binary file format desired in order to streamline the creation of input files for other software (such as hydrologic models). The language includes the ability for complete text customisation, dialog boxes, writing to multiple files simultaneously, export of images and a complete set of logical operators (such as LOOP, IF THEN etc).
The macro language is described in detail in the CatchmentSIM CSTalk Macro Language Guide.
This menu option will bring up the following form.
The CST scripts are stored in the 'Installation Directory \ CST Files' and those that are available are shown in the file tree view. By selecting a directory in this window, the available CST scripts in that directory are shown in the top right window. By selecting a script in this window, the description of the CST script (stored in the CST file header) will be shown in the Macro Description window.
After selecting the Run Macro button, CatchmentSIM will behave in accordance with the macro instructions.