activating safe sleep on your mac
November 15th, 2005

It’s been pointed out to me that while my last post on the subject explained how to easily enable “Safe Sleep” on your mac, activating “Safe Sleep” without resorting to command-line chicanery is another story. So, here’s a script that puts a friendly face on activating “Safe Sleep” mode:
- Download it, open it in Script Editor, and change the two instances of “myusername” to your short user name, and change the two instances of “mypassword” to your password; i.e. if your Mac OS X user name was “Donna Summer” and your password was “DiscoHits”, change “myusername” to “Donna Summer” and “mypassword” to “DiscoHits”…. I don’t know if I can explain this any further without invoking even more disco divas of the 70′s.
- “Save As…” the script and make sure the option to “Run Only” is checked off. This is because your username and password are now contained in this script and you probably don’t want anyone else opening up the script and stealing your password. Save the script in your “Scripts” folder inside the “Library” folder of your home directory; if you haven’t turned on the script menu using the “AppleScript Utility” in the “AppleScript” folder in your “Applications” folder, now is a good time.
- Now you’ll have a handy menu item in your top script menu called “Activate Safe Sleep”, and when you select it, you’ll get a friendly little dialog which will allow you to easily specify the kind of sleep you want your mac to be in.
~jeff