Sleep my MacBook Air

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

Actions Used

Run Script over SSH
Runs a script on a remote computer over SSH.

Extra Details

Run Shortcut deep link
Open Shortcut deep link
AppleScript code
tell application “Shortcuts Events” run shortcut “Sleep my MacBook Air” end tell

More From This Folder

More From The Library

Get podcast show slug

Accesses the Transistor API to retrieve your account data, looks at first show, then retrieves the slug from its attributes – copy it and paste it into your other shortcuts.

Get Shortcut »

Get way deeper into Shortcuts – become a member.