Macro functions
Some system functions, for example those provided under the File | Utilities menu, cannot be saved as a form set. However, there are two ways in which you can invoke them:
- Select an option from the Macro Processes menu in the Macro Editor.
- To close the Vizex window, for example, a FILECLOSE function is available via the File menu.
- System (ABORT, BEEP and COMMENT) functions are available via the Macro menu.
- Select an option from the Scripting menu (listed in the table below).
- Enter parameters and save them as a form set.
- You can now create a macro file as normal and run it. Note that you can use replaceable parameters with macro functions. refer to the Replaceable parameters topic.
Macro Function | Menu option |
---|---|
MCOPY | New Macro (used to copy a macro structure) |
RUN | Run Macro (use this command to run a batch file or another program from within a program) |
FCOPY | Macro File Functions | Copy. Same as in File | Utilities. |
FDELETE | Macro File Functions | Delete. Same as in File | Utilities. |
FRENAME | Macro File Functions | Rename. Same as in File | Utilities. |
DELDATA | Macro File Functions | Delete Data. Same as in File | Utilities. |
MODIFY | Macro File Functions | File Create/Modify. Use this function to create a new file or to modify the structure of an existing file. Same as in File | Create/Modify. |
REPORT | Macro File Functions | Print Micromine File. Use this function to send a file to the default printer. |
PRINTER | Macro Utilities | Select Printer. Use this function to change a printer/plotter and its parameters within a macro. |
MACSUB | Macro Utilities | Substitution Table - Use this function to define a form set of substitution values that can then be substituted in macro instructions. |
CALLMAC | Macro Utilities | Call Macro. Macro nesting - This function is used in a macro file to call a macro in a form (Nesting). The macro you pass to CALLMAC will run. When it is complete, the main macro will continue. Only one level of nesting is possible. That is, the macro in the form you pass to CALLMAC cannot contain another macro. |
ODBCUPD | File | Link | ODBC Link Update |
MDBUPD | File | Link | Microsoft Access Link Update |
DHDBMACRF | Drillhole | Database | Refresh Databases |
Macro functions: File | |
Macro functions: Sections | |
Macro functions: Wireframe |