Hello again MacRumors. Some time ago I installed an SSD in my 2011 MacBook Pro and moved the old HDD to the Optibay. All was good - except that it would never spin down. And if it did (after the 1 minute timer I set with pmset disksleep 1) it would quickly spin back up again for some reason or another. So enter my solution, remapping the eject key for dynamic, user-controlled disk startup/shutdown! Sadly, it takes a very roundabout way to make it happen.
First, KeyRemap4Macbook, the program that makes this possible. Many thanks to the author! When you install, find "remap eject key" in the options. I remap'd eject to F13, but any unused button would do.
Second, BetterTouchTool, which everyone should already have. When BTT is installed, add a new keyboard option so that F13 will activate an applescript (attached).
Third (optional), an Automator action that allows you to post stuff to the Mountain Lion/Mavericks Notification Center. Makes this hack very aesthetic and functional.
Make sure to enter your username and password in the script (so you don't need to authenticate every time)
If you do not care about pretty Notification Center pop-ups, only download the Sample.zip, and remove any lines that have "tell application "___" to activate"
These files I posted will work from anywhere (I think) so bury them deep in your Documents folder and forget.
First, KeyRemap4Macbook, the program that makes this possible. Many thanks to the author! When you install, find "remap eject key" in the options. I remap'd eject to F13, but any unused button would do.
Second, BetterTouchTool, which everyone should already have. When BTT is installed, add a new keyboard option so that F13 will activate an applescript (attached).
Third (optional), an Automator action that allows you to post stuff to the Mountain Lion/Mavericks Notification Center. Makes this hack very aesthetic and functional.
Make sure to enter your username and password in the script (so you don't need to authenticate every time)
If you do not care about pretty Notification Center pop-ups, only download the Sample.zip, and remove any lines that have "tell application "___" to activate"
These files I posted will work from anywhere (I think) so bury them deep in your Documents folder and forget.