Lock screen

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

Matthew's Score
Total Actions
Built For

Shortcut Information

Use this shortcut in the Menu Bar or with a Stream Deck to lock the screen of the current computer.

Extra Details

Run Shortcut deep link
Open Shortcut deep link
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 »

You Might Also Like

Show me this music video

Identifies the current song and uses the “Video URL” detail to check if there’s a video available; if so, it opens it immediately, otherwise it throws an alert that nothing was found.

Get shortcut »

Share as JPG

Takes a photo, resizes it to 1440px wide, converts it to a JPEG, and opens the share sheet so you can save it or send it elsewhere.

Get shortcut »

Get way deeper into Shortcuts – become a member.