Skip to content

Instantly share code, notes, and snippets.

@francisluong
Created December 15, 2014 22:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francisluong/4d1d5341a97d01185de5 to your computer and use it in GitHub Desktop.
Save francisluong/4d1d5341a97d01185de5 to your computer and use it in GitHub Desktop.
OSX Automator Applescript to Create a Start Screensaver (Lock Screen) Hotkey
#Service receives *no input* in *any application*
# bind to ctrl-alt-l in keyboard shortcuts
on run {input, parameters}
tell application "System Events" to start current screen saver
return input
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment