Once you have selected a default macro language (see Selecting a default macro language), you can create a new macro by using the Create Macro dialog, see figure below. The dialog allows you to specify a macro language, enter source code, and save it.
To create a new macro

to test and make sure that the source code works properly.
. The Macro Information dialog will open. Follow the steps described in Adding a Macro and Its Information.