Applescript to disable screen saver through sending keystroke I'm trying to write an applescript that will disable the screen saver through sending a keystroke.  Something like sending a "shift key" pressed every 30 seconds.

I don't want to have the applescript actually disable the screen saver through system preferences.
Check out the dictionary for the System Events app that's included with Applescript. You can access it from the AppleScript Editor:


  File > Open Dictionary... > System Events.app


There's a class called "screen saver preferences object" in there that should do what you need without having to script the GUI.

EDIT: Try setting the property "delay interval" of the object to 0 to disable the screensaver.