appleScript to disable screen saver
I am new to AppleScript and would like to write a script to disable the screen saver. Where do I start? How do I do this? Also, please help me understand what documentation I use to learn how to do this?
Wow this is so much better then my old Mac Plus!
Here is a sample code from Apple’s AppleScript Page:
tell application id "com.apple.ScreenSaver.Engine" to launch
So you could try an modify that to a stay open applescript (which means you select “Application” as your file format when you save the script in Script Editor).
tell application id "com.apple.ScreenSaver.Engine" to quit
That being said, there’s probably a better way. Try googling for “disable screen saver (mac OR leopard)”.
Hope this helps![ Edited: 05 December 2008 12:35 PM by Stephen Swift ]
Wow great site for Applescript. I was having difficulty finding many tutorials, but this site seems pretty good. For me the applescripting will be more for practice & to know that I can. I build a little in secondlife too. It is fun. Glad to be here.