# Macro

Source: https://help.malighting.com/grandMA3/2.3/HTML/keyword_macro.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the **Macro** keyword in the command line, use one of the options:

- Press MA + X14 | Macro
- Type **Macro**
- Type the shortcut **M**

## Description

The Macro keyword is an object keyword which is used to access Macros.

The default function for macro is Go+. This means calling macros without specifying any function starts the macro.

For more information see [Macros](/grandma3/2-3/macros/).

## Syntax

**\[Function] Macro** \["Macro\_Name" or Macro\_Number]

\[Function] DataPool \["DataPool\_Name" or DataPool\_Number] Macro \["Macro\_Name" or Macro\_Number]

## Examples

- To start macro 5, type:

|                                                                    |                             |
| ------------------------------------------------------------------ | --------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Macro 5 |

 

- To set the wait time of macro 3 line 4 to Go, type:

|                                                                    |                                                |
| ------------------------------------------------------------------ | ---------------------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Edit Macro 3.4 "Wait" "Go" |

 

- To store a new and empty macro 2, type:

|                                                                    |                                   |
| ------------------------------------------------------------------ | --------------------------------- |
| ![](/img/grandma3/2-3/icon_commandline-input_logo_v2-0-59d23e.png) | User name\[Fixture]>Store Macro 2 |