Lock screen

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

Change text case

Takes the input from the Share sheet or clipboard, lets you choose from UPPERCASE, lowercase, Capitalizing Every Word, swapping to Title Case, or swapping to Sentence case, and copies it to your clipboard.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more