Created
May 31, 2012 20:31
-
-
Save fionawhim/2846012 to your computer and use it in GitHub Desktop.
Unlock screensaver via AppleScript in Lion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
if name of every process contains "ScreenSaverEngine" then | |
tell application "ScreenSaverEngine" | |
quit | |
end tell | |
keystroke <YOUR PASSWORD HERE> | |
keystroke return | |
end if | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you test it on Mac OS 10.7?