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"}action: macos.enableFocusModeDisable 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"}action: macos.disableFocusModeHide Menu Bar
Hide the macOS menu bar by enabling auto-hide.
{ "action": "macos.hideMenubar"}action: macos.hideMenubarShow Menu Bar
Show the macOS menu bar by disabling auto-hide.
{ "action": "macos.showMenubar"}action: macos.showMenubarPresentation 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" } ]}title: Start Presentation Modedescription: Set up Mac for presentingsteps: - action: macos.enableFocusMode - action: macos.hideMenubar - action: setPresentationViewAnd to restore your Mac after the presentation:
{ "title": "End Presentation Mode", "description": "Restore Mac settings", "steps": [ { "action": "macos.disableFocusMode" }, { "action": "macos.showMenubar" }, { "action": "unsetPresentationView" } ]}title: End Presentation Modedescription: Restore Mac settingssteps: - action: macos.disableFocusMode - action: macos.showMenubar - action: unsetPresentationView