> For the complete documentation index, see [llms.txt](https://help.security.gallagher.com/knowledge-hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros.md).

# Macros

The **Macros** button only appears on the **Administration** tab for users with the "Edit Macros" or "View Macros" privilege in at least one division.

Select the **Administration** tab on the Command Centre title bar, and then click the **Macros** button on the toolbar. The Macros Viewer opens.

![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-19e9b763382077a76a0e0767a0c817f4c4494b43%2Fadmin_macrosviewer.png?alt=media)

**Note:** The **Configuration Client** button will only appear on the **Administration** toolbar if you have the "Launch Configuration Client" privilege in at least one division.

The Navigation Panel for the Macros Viewer provides a list of all the Macros.

**Notes:**

* The columns on the Viewer Navigation Panel can be resized and/or reordered if required. See [Resizing/reordering columns](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/generic-administration-tasks/resizing-reordering-columns.md) for further detail.
* The **Next Run Time** column displays the next scheduled run time for a Macro. If a Macro has no scheduled times in the future, *"Not Scheduled"* displays instead.
* The Macros are intially sorted by the **Next Run Time** column, with the earliest time first, and *"Not Scheduled"* Macros last.
* The **Remaining** column lists the total number of times the Macro is scheduled to run.

The ![](https://2455150842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6UYAoyykM6nimMN9yss%2Fuploads%2Fgit-blob-1917d0a2636ac19bbf408180779ffc8b8ea0cc89%2Fquicktipsbutton.png?alt=media) button beside the **Search** field can be clicked to provide [quick tips for working with Macros](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/quick-tips-for-working-with-macros.md).

There are a number of ways to search for a Macro. See [Searching for items](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/generic-administration-tasks/searching-for-items.md) for further detail.

The proportions between the Viewer Navigation Panel and Viewer Panel can be resized. See [Sizing the Panels](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/generic-administration-tasks/sizing-the-panels.md) for further detail.

Select the item below that you require further detail on:

[Understanding Macros](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/understanding-macros.md)

[Creating a new Macro](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/creating-a-new-macro.md)

[Scheduling a Macro](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/scheduling-a-macro.md)

[Event Action Plans and Alarm Instructions for a Macro](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/event-action-plans-and-alarm-instructions-for-a-macro.md)

[Adding Command Lines for Macros](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/adding-command-lines-for-macros.md)

[Editing/Removing Actions for a Macro](https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros/editing-removing-actions-for-a-macro.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.security.gallagher.com/knowledge-hub/command-centre-client/configuring-command-centre/administration/macros.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
