A Script Macro represents a reusable section of code that can be inserted within any script editor in the Platform.
As you are developing a script in the script editor you can insert a Script Macro by typing the macro tag and pressing the tab key.
To list all available Script Macros you can type "help" and press tab directly in the script editor.
Type help

Invoking the help for script macros
Press Tab

Contextual help for script macros
To close the help drawer click the ? icon above the help drawer.
Administrators can define their own script macros by adding them to the list of Script Macros under the Development application menu.
Development application menu.Script Macros menu item.+ icon near the top left of the list.
Script Macro's Record Detail.