Detect when screensaver activates with Cocoa - by chrisbdaemon Is there a way to trigger an action when the Mac OS X screensaver activates or when it goes to sleep (preferably using cocoa)? Read the article