[HOWTO] Locking Mac using the ⌘ (command) + L

Print this post Email this post
  1. Download Spark
  2. File -> New Hotkey -> Applescript
  3. Click on shortcut and press ⌘ (command) + L
  4. Enter a name
  5. At the source section copy and paste the following code:
    tell application "ScreenSaverEngine" to activate
  6. Click Create

UPDATE: For OSX Lion you need to us the following code:
tell application "/System/Library/Frameworks/Screensaver.framework/Versions/A/Resources/ScreenSaverEngine.app" to activate

Be Sociable, Share!

Leave a Reply

You must be logged in to post a comment.