Skip to content

macOS actions

macOS actions allow you to control macOS-specific features during your presentations. These actions are only available on macOS and include Focus Mode (Do Not Disturb) controls, menu bar visibility, and custom AppleScript execution.

Enable Focus Mode

Enable Focus Mode (Do Not Disturb) on macOS. This action requires a Shortcuts automation named “Enable Do Not Disturb” to be set up on your Mac.

{
"action": "macos.enableFocusMode"
}

Disable Focus Mode

Disable Focus Mode (Do Not Disturb) on macOS. This action requires a Shortcuts automation named “Disable Do Not Disturb” to be set up on your Mac.

{
"action": "macos.disableFocusMode"
}

Hide Menu Bar

Hide the macOS menu bar by enabling auto-hide.

{
"action": "macos.hideMenubar"
}

Show Menu Bar

Show the macOS menu bar by disabling auto-hide.

{
"action": "macos.showMenubar"
}

Presentation Mode Example

Here’s an example of how to set up your Mac for presentation mode at the start of a demo:

{
"title": "Start Presentation Mode",
"description": "Set up Mac for presenting",
"steps": [
{
"action": "macos.enableFocusMode"
},
{
"action": "macos.hideMenubar"
},
{
"action": "setPresentationView"
}
]
}

And to restore your Mac after the presentation:

{
"title": "End Presentation Mode",
"description": "Restore Mac settings",
"steps": [
{
"action": "macos.disableFocusMode"
},
{
"action": "macos.showMenubar"
},
{
"action": "unsetPresentationView"
}
]
}