Onetastic Macro Documentation >
>
>
Main Main
The main function of a macro. Every macro has a Main function and the statements of the Main function are executed when the macro is ran.
Syntax
void Main(String arg)
Parameters
- String arg
- The argument passed into the Main function through a menu item. If the macro is executed by its main button on the ribbon, the value of this parameter is empty string.
|