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
                   2009-09-25 16:45:56