Hello,
I have come to the conclusion that I never want my machine to 'full sleep', but rather, to only 'doze'. In the Energy Saver control panel, I specified 'never' sleep the machine, but spin down the hard drives and the displays. However, when I want the machine to do this immediately, selecting 'sleep' also kills the CPU (and the network connection.) I always want my machine to be network-aware, so that it can serve webpages and accept incoming ssh/scp/file sharing/timbuktu connections.
The following URL sort of spelled it out for me:
http://developer.apple.com/techpubs/...html#TPXREF110
Therefore, I would like to create a menu item in the Apple Menu of Mac OS X 10.1 that says 'Doze', with a possible keyboard shortcut.
I would also like to create an additional button in the dialogue which pops up with you hit the Power key (or control + eject on the new pro keyboard) that says 'Doze'.
I have a copy of CodeWarrior and a lot of time on my hands. If anyone could point me at the proper resources (libraries, function calls, whatever) to achieve this, I would be most appreciative.
Or, finding out that 'it's already do-able / it's been done' would also be a nice surprise.