Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.6: Lock the screen via a keyboard shortcut' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Lock the screen via a keyboard shortcut
Authored by: robotthreads on Aug 28, '12 10:03:52AM

The following works on 10.7.4. Basically uses automator to create a utility to launch the screen saver app. I like it because it is much faster than using sleep. I used a couple of different how-to's to craft this including the one by Typhoon14 & acalado above.


1. Enable password for screen saver. To do this: Open System Preferences and click Security & Privacy. Check the "Require password after sleep or screen saver begins" box.
2. Copy Screen Saver application from "/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app" to your Applications folder.
3. Open Automator (in your Applications folder) and choose Service from the list of templates provided and click the Choose button.
4. In the left hand column under Library, select "Utilities".
5. In the second column, drag “Launch Application” to the right hand pane.
6. At the top of the right hand pane where you dragged the Run Shell Script action, click on the menu next to “Service receives” and choose “no input”.
7. From the File Menu select Save and choose a name for the utility.
8. From the System Preferences Pane Select "Keyboard"
9. Select the "Keyboard Shortcuts" tab on the top of the window
10. Select "Services" from left pane
11. Scroll down to "General" (you might have to expand the General selection) in the right pane and you should see the new utility you created.
12. Select the utility you created and add a keyboard shortcut for it.



[ Reply to This | # ]