Browse the docs

Group

Holds a list of steps together under one name so they read and fail as a unit.

Group steps as name

Keyboard Maestro: Group

Details #

A Group runs its steps in order. It does nothing else. Use it to name a stretch of a macro and give it one onFailure rule for everything inside.

The Trace shows the Group as one row with its steps nested below, and the output reports how many steps it held.

Two steps under one name
Do
  1. Group “Say hello”
  2. Show “Hello”
  3. Show “World”
Open in Switchboard to try it

Parameters #

ParameterTypeRequiredValuesWhat it does
stepslist of stepsYesThe steps inside.
nametextA label for the stretch.

Every step also accepts label, onFailure, timeout and dryRunSafe.

Examples #

Ignore failure of a whole block
Do
  1. Group “Optional extras”
  2. Show “Trying…”
  3. Show “Done”
Open in Switchboard to try it

Gotchas #

  • A Group is not a macro: it has no inputs, no result and no separate variables.

  • Not the same as a macro group in the Library, which holds macros and decides where they apply.

See also #

If, Repeat, Run macro