A macro is a single word that represents a script of commands. The user can pass arguments to the script via the macro.
Access Macros via Dialogs -> Macros in the TouchDesigner menu bar, and learn about the dialog at Macros Dialog.
Macros can be created locally in any component. A Text DAT placed inside a component's
local/macros component will define a macro for the component, the name of the macro is the name of the Text DAT. TouchDesigner will search for a macro in the current component first, if not found it will look in the parent component, and so on up to the Root. Any macro defined in the root will be available for use anywhere in the project. The Macros Dialog can be used to manage macros defined in any component.
Macros can also be defined more simply by using the Tscript