Desktop User Guides > Professional > Using UNICOM Intelligence Professional > Working with macros > Inserting a macro into a script
 
Inserting a macro into a script
1 In the main Edit window, click where you want to insert the macro.
2 Type the name of the macro. If the macro has parameters, enter the arguments after its name, enclosed in parentheses and separated by commas.
3 Press Ctrl+M.
Examples
To insert the INP data management macro without specifying any arguments, type INP, then without leaving a space, press Ctrl+M.
To insert the FN1 mrScriptBasic macro using i and j as the arguments, type FN1(i,j), then without leaving a space press Ctrl+M.
Notes
Macro names are case-sensitive.
Do not insert a space character between the arguments.
See also
Working with macros