Sleep Mode

Activates the Sleep mode for the device.

Scripting Actions

shortcuts-action-icon-set-focus.webp
Set Focus
Turns Do Not Disturb on or off.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Sleep%20Mode
Link to Open Shortcut
shortcuts://open-shortcut?name=Sleep%20Mode
AppleScript code
tell application “Shortcuts Events” run shortcut “Sleep Mode” end tell

More From This Folder

Please do not disturb me

Presents a menu of various time periods for setting Do Not Disturb, then adjusts your device according to the choice – includes a few colloquial phrases like “a bit” and “a while” that can be customized to your preferences, plus options for turning it on until lunch or after work.

Get Shortcut »

More From The Library

Add Education spreadsheet

Presents a list of Education templates from the Numbers app, including an attendance spreadsheet, grade book, GPA sheet, probability calculator, correlation project, or academic calendar.

Get Shortcut »

Enable listening history

Asks you to pick a focus mode, then sets the Music Focus Filter for “Use Listening History”” to ON so anything you listen to will be tracked and added to Apple Music Replay.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more