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

Open Touch preferences

Opens into the Touch section of Accessibility settings to let you control features like AssistiveTouch, Reachability, Haptic Touch, Touch Accommodations, Tap or Swipe to Wake, Shake to Undo, Prevent Lock to End Call, Call Audio Routing, and Back Tap control

Get Shortcut »

Open RSS posts

Gets the RSS feed from the Shortcut Input, extracts 10 stories, presents them in a menu, and copies the chosen URLs before opening them in Safari.

Get Shortcut »


Get way deeper into Shortcuts – become a member.