![]() |
Can I make a shortcut or Automator action to toggle hard drive sleep? - Printable Version +- MacResource (https://forums.macresource.com) +-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1) +--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3) +--- Thread: Can I make a shortcut or Automator action to toggle hard drive sleep? (/showthread.php?tid=92080) |
Can I make a shortcut or Automator action to toggle hard drive sleep? - thermarest - 01-30-2010 Problem I'm trying to solve: when I have an external FW drive attached, it spins down per the Energy Saver prefs check box and I find it irritating and disruptive when the whole system freezes while the HD spins back up. (As we all know, OS X waits for the drive to spin up often even if the current operation doesn't actually need anything from the drive). So, sometimes I uncheck "spin down hard drive." Then I forget to put it back, and my drive spins all night and all morning. So, looking for a quick way to toggle this from desktop or the dock. Any ideas? I just tried to make an automator action, but it didn't work. I've never really used Automator so rather than trouble shoot w/o much knowledge, I thought I'd ask for suggestions. Re: Can I make a shortcut or Automator action to toggle hard drive sleep? - Fred_Also - 01-30-2010 Here is one to keep drive spinning - you might look at it for ideas on what you are trying to do. http://www.macupdate.com/info.php/id/31158/keep-drive-spinning Fred Also Re: Can I make a shortcut or Automator action to toggle hard drive sleep? - Doc - 01-30-2010 This AppleScript will toggle the setting on. tell applicationSystem Preferencesactivate Re: Can I make a shortcut or Automator action to toggle hard drive sleep? - Article Accelerator - 01-30-2010 thermarest wrote: I think there's something else going on there. I can mount, unmount, and remount drives (at least internal ones) with no interruption to current operations. Anyway, here are some links that I think will put you on the right path to creating a useful AppleScript, plus a couple of pre-built utilities that might be useful: http://www.thexlab.com/faqs/sbbod.html http://www.macosxhints.com/article.php?story=2005080905050737 http://discussions.apple.com/thread.jspa?threadID=1872806 http://lightheadsw.com/caffeine/ http://ian.aramisdesign.com/software/ ( "Presentation Mode" ) http://www.digital-heaven.co.uk/disksomnia (unfortunately, for use with Final Cut Pro or Final Cut Express only) (EDIT: sheesh, spent too much time with the googles...you guys beat me to it) Re: Can I make a shortcut or Automator action to toggle hard drive sleep? - thermarest - 01-30-2010 Great...thanks both of you! Regarding if there's something else going on: when my external is spun-down, anything that makes it spin up also brings on the rainbow wheel of doom and I can't do anything until the drive is back online. Is this not normal? Re: Can I make a shortcut or Automator action to toggle hard drive sleep? - Doc - 01-30-2010 > anything that makes it spin up also brings on the rainbow wheel... The Finder or Disk Utility might briefly stall while a drive mounts on a slow Mac, but other apps should keep working. Re: Can I make a shortcut or Automator action to toggle hard drive sleep? - thermarest - 02-01-2010 Doc wrote: Hmmm. I'm on a MBP 2.4, 4 gigs ram. Any app stalls w/the beachball for 5 up to maybe 20+ seconds when the drive spins up. Maybe I should look into the cause. Thanks. |