Re: Scripting energy saver sleep/wake schedules?
Re: Scripting energy saver sleep/wake schedules?
- Subject: Re: Scripting energy saver sleep/wake schedules?
- From: Matthew Smith <email@hidden>
- Date: Tue, 19 Feb 2008 18:24:58 -0800
See:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pmset.1.html
for the changing the settings using a shell command.
If it were me, I would write something using a shell script instead of an AppleScript.
--
Matthew Smith
On Wednesday, February 20, 2008, at 11:35AM, "Nathaniel Irons" <email@hidden> wrote:
>Not sure if this is strictly an applescript issue, but I'm wondering if
>anyone knows of a way to programmatically set the Energy Saver sleep/wake
>schedule. I've got about 120 Macs in an office (some 10.3, mostly 10.4, a
>few 10.5) with a hodgepodge of settings, and if there was a way to remotely
>straighten them all out without poking at each machine individually, that'd
>be swell.
>
>I assume this is possible with GUI scripting, but that's just one step
>removed from walking the building, especially as I'd like to be able to
>re-run this operation in the future without disrupting someone working at
>the machine.
>
>I haven't found any mechanism in Applescript to pull this off, and while I
>figure it's probably possible in IOKit, I haven't found any relevant
>documentation there, either. Thanks for any suggestions.
>
> -nat
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>AppleScript-Users mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>Archives: http://lists.apple.com/archives/applescript-users
>
>This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden