Hello, I'm working on an alarm and I'm wondering what would be the best way to make it wake up the computer. I've heard of IOPMSchedulePowerEvent and I think it's the best way, but I'll need root privileges and I'm guessing the best way to do that without making a security hole is to have a helper application that just tells the computer what time to wake up and have my alarm application launch it. But there is one thing there, the only way I can find to do it requires the user to type in a password each time my alarm starts up and that's not user friendly, so is it possible maybe to save the user password in the keychain and use that to authenticate it to schedule an wake up time? Or save the AuthorizationRef and get that at start up?

Thanks for any tips/help,
Mr. Gecko
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to