OS and desktop actions
This section groups actions related to desktop presentation setup and operating system controls. Most actions on this page are macOS-only, while desktop icon visibility is available on both macOS and Windows.
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.
Supported on: macOS
{ "action": "macos.enableFocusMode"}action: macos.enableFocusModeCreate the shortcut like this:
- Open the Shortcuts app on macOS.
- Create a new shortcut named
Enable Do Not Disturb. - Add the
Set Focusaction. - Click the Focus field in that action and explicitly choose
Do Not Disturbfrom the dropdown. - Configure it to set
Do Not DisturbtoOn. - Save the shortcut.
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.
Supported on: macOS
{ "action": "macos.disableFocusMode"}action: macos.disableFocusModeCreate the shortcut like this:
- Open the Shortcuts app on macOS.
- Create a new shortcut named
Disable Do Not Disturb. - Add the
Set Focusaction. - Click the Focus field in that action and explicitly choose
Do Not Disturbfrom the dropdown. - Configure it to set
Do Not DisturbtoOff. - Save the shortcut.
Hide Menu Bar
Hide the macOS menu bar by enabling auto-hide.
Supported on: macOS
{ "action": "macos.hideMenubar"}action: macos.hideMenubarShow Menu Bar
Show the macOS menu bar by disabling auto-hide.
Supported on: macOS
{ "action": "macos.showMenubar"}action: macos.showMenubarMute Volume
Mute the system volume on macOS. This is useful for presentations where you want to ensure no unexpected sounds interrupt your demo.
Supported on: macOS
{ "action": "macos.muteVolume"}action: macos.muteVolumeUnmute Volume
Unmute the system volume on macOS.
Supported on: macOS
{ "action": "macos.unmuteVolume"}action: macos.unmuteVolumeEnable Caffeine
Prevent the system from sleeping during presentations. You can enable it indefinitely or for a specific duration in minutes.
Supported on: macOS
{ "action": "macos.enableCaffeine"}{ "action": "macos.enableCaffeine", "duration": 60}action: macos.enableCaffeineaction: macos.enableCaffeineduration: 60Parameters
duration(optional): Duration in minutes to prevent sleep. If not specified, prevents sleep indefinitely.
Disable Caffeine
Re-enable system sleep after a presentation. This stops all running caffeinate processes.
Supported on: macOS
{ "action": "macos.disableCaffeine"}action: macos.disableCaffeineHide Dock
Hide the macOS dock by enabling auto-hide. This provides a cleaner workspace during presentations by automatically hiding the dock until you move your cursor to the bottom of the screen.
Supported on: macOS
{ "action": "macos.hideDock"}action: macos.hideDockShow Dock
Show the macOS dock by disabling auto-hide. This restores the dock to always be visible.
Supported on: macOS
{ "action": "macos.showDock"}action: macos.showDockHide Desktop Icons
Hide all desktop icons for a distraction-free presentation.
Supported on: macOS, Windows
{ "action": "hideDesktopIcons"}action: hideDesktopIconsShow Desktop Icons
Restore desktop icons after a presentation.
Supported on: macOS, Windows
{ "action": "showDesktopIcons"}action: showDesktopIconsPresentation Mode Example
Here’s a comprehensive 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.enableCaffeine", "duration": 90 }, { "action": "macos.muteVolume" }, { "action": "macos.enableFocusMode" }, { "action": "macos.hideMenubar" }, { "action": "macos.hideDock" }, { "action": "setPresentationView" } ]}title: Start Presentation Modedescription: Set up Mac for presentingmoves: - action: macos.enableCaffeine duration: 90 - action: macos.muteVolume - action: macos.enableFocusMode - action: macos.hideMenubar - action: macos.hideDock - action: setPresentationViewAnd to restore your Mac after the presentation:
{ "title": "End Presentation Mode", "description": "Restore Mac settings", "moves": [ { "action": "macos.disableFocusMode" }, { "action": "macos.showMenubar" }, { "action": "macos.showDock" }, { "action": "macos.unmuteVolume" }, { "action": "macos.disableCaffeine" }, { "action": "unsetPresentationView" } ]}title: End Presentation Modedescription: Restore Mac settingsmoves: - action: macos.disableFocusMode - action: macos.showMenubar - action: macos.showDock - action: macos.unmuteVolume - action: macos.disableCaffeine - action: unsetPresentationView