Edit AllPages


I wrote an app that locks the screen. There should be a button that should shut down the computer. But I don’t really know how to do that - or where to begin to look. I’ve already searched cocoadev with “turn off” and “shut down”, but there were no results I could use.

Thanks in advance!

Google is your friend. So is Try - they key is kAEShutDown