Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automating some preferences



Easiest means is probably using the do shell script command. In the terminal

sudo pmset -c spindown 5
will set the spin downtime to 5 minutes

sudo pmset -c spindown 0
will set the spindown time to never

Kind of cool that you can control it more precisely as well. The commands above are when attached to power. do a man pmset to find the rest.

Rob Morton


On Dec 19, 2003, at 1:48 PM, Curtis Perry wrote:

I would like to automate the Energy Saver in System Preferences and toggle the 'Put the hard disk to sleep when possible' check box. So I can easily change modes. What are the hooks to control that feature?
Thanks,
Curtis
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Automating some preferences (From: Curtis Perry <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.