tags:

views:

121

answers:

1

Is it possible to programatically ask Mac OS X not to turn on the screen saver while your application is active?

+3  A: 

You want to use:

UpdateSystemActivity(UsrActivity);

Here is Apple's example code.

Be aware this is deprecated for 64bit binaries, and I have not found a suitable replacement, but the struggle continues.

jeffamaphone