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


Click here to return to the 'Sleep sound on my PowerBook' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sleep sound on my PowerBook
Authored by: victory on Sep 12, '06 11:45:08AM
I use SleepWatcher to play a sound every time my PowerBook goes to sleep. In particular, my .sleep script basically invokes a cmd-line sound player app* such as found here or here. (Experienced AppleScripters could probably do some similar magic with osascript or something.) The sound I have the PowerBook play comes from here.

Yes, it's silly. Yes, it's stupid, but besides making me laugh, it actually does has a practical effect -- it tells me that the PB has shut down successfully before I tuck it away in a carrying case and begin hefting it around. In the past, I've run into a sporadic problem of the PB not sleeping properly when I closed the lid. This created a problem with trapped heat and increased the risk of toting around a unit that I thought was safely asleep that wasn't.

---

* BTW, if you are a user of the excellent TextMate text-editor from MacroMates.com, there's an (apparently) undocumented cmd-line sound app already tucked away inside it. Hint: TextMate/TextMate.app/Contents/SharedSupport/Support/bin/play)

[ Reply to This | # ]