20 lines
444 B
Plaintext
20 lines
444 B
Plaintext
REM Locks the screen on macOS
|
|
REM Provides a quick way to secure your computer when stepping away
|
|
REM Ensures privacy and data protection
|
|
REM Author: Narsty
|
|
REM Title: Quick Lock Screen
|
|
REM Version 1.0 MacOs
|
|
|
|
DELAY 2000
|
|
GUI SPACE
|
|
DELAY 500
|
|
STRING terminal
|
|
ENTER
|
|
DELAY 500
|
|
STRING echo "Locking Screen..."
|
|
ENTER
|
|
DELAY 500
|
|
STRING osascript -e 'tell application "System Events" to keystroke "q" using {control down, command down}'
|
|
ENTER
|
|
DELAY 1000
|