Sleep my MacBook Air

Sends a remote command to a Mac to go to sleep immediately.

Actions Used

shortcuts-action-icon-run-script-over-ssh.webp
Run Script over SSH
Runs a script on a remote computer over SSH.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Sleep%20my%20MacBook%20Air
Open Shortcut deep link
shortcuts://open-shortcut?name=Sleep%20my%20MacBook%20Air
AppleScript code
tell application “Shortcuts Events” run shortcut “Sleep my MacBook Air” end tell

More From This Folder

More From The Library

Open Security and Privacy preferences

Opens the deep link into Privacy and Security settings on iOS and the Security pane on macOS. Options include controls for Location Services and Tracking, plus others like Local Network, Nearby Interactions, Microphone and Speech Recognition, and Research Sensor and Usage Data. Also includes Safety Check, Sensitive Content Warning, Analytics and Improvements, Apple Advertising, App Privacy Report, and Lockdown Mode.

Get Shortcut »


Get way deeper into Shortcuts – become a member.