Lock screen

Uses AppleScript to press ⌘+⌃+Q to Lock the screen.

Extra Details

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

More From This Folder

Show LaunchPad

Activates the key code for F4’s native function, which triggers the LaunchPad feature that shows your app icons like an iOS Home Screen.

Get Shortcut »

More From The Library

Book Mode

Opens the Books app, then prompts you to confirm setting orientation lock so the screen doesn’t rotate. When run from Mac, opens the app in fullscreen.

Get Shortcut »


Get way deeper into Shortcuts – become a member.