If you need to make the computer sleep immediately, you can use the command "/usr/bin/pmset sleepnow".
Jeff Kelley slaun...@umich.edu On May 26, 2010, at 5:01 PM, Julian. wrote: > what is the correct way to send the computer to sleep? i couldn't find > anything in the documentation, except appleevents... > > thanks, Julian. _______________________________________________ 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