Lock screen

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

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Lock%20screen
Link to Open Shortcut
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

Check VO2 max

Opens into the Heart > VO2 max page in the Health app, displaying the data that’s newly available for all Apple Watch wearers in watchOS 7.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more