Lock screen

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

Matthew's Score
4/5
Total Actions
1
Built For

Shortcut Information

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

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 »

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.