appleScript to disable screen saver

  • Posted: 24 November 2008 11:29 AM

    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!

  • Avatar

    Posted: 01 December 2008 09:14 AM #1

    Hey Steve,

    Here is a sample code from Apple’s AppleScript Page:

    tell application id "" 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).

    on idle
    tell application id "" to quit
    end idle 

    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 ]      
  • Avatar

    Posted: 06 December 2008 09:30 AM #2

    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.