# list-menus macro

The list-menus macros produces a sorted
listing of all items defined as menus in the specified master dictionary.

Note: All menus must reside in the master dictionary.

## Syntax

```
list-menus md.name{(options}
```

## Parameter(s)

| options | n | Affects output to the terminal only, preventing output from pausing at the end of each (terminal) page of output. |
| --- | --- | --- |
| p | Directs output to the system printer, via the spooler. | |

## See also

- [list-macros macro](https://d3codex.com/tcl/list-macros-macro/)
- [list-menu command](https://d3codex.com/tcl/list-menu-command/)
- [Options (Access Query Language)](https://d3codex.com/access/options-access-query-language/)

---
Source: https://d3codex.com/tcl/list-menus-macro/ - part of the D3Codex reference.
