Launch a screensaver with applescript

Posted on 2006-04-17
Last Modified: 2008-01-16
I have am running OS X 10.3 on an emac.  I would like to be able to launch a screensaver of my choice with Applescript.  First where are the screensaver files stored and named? and secondly what would the Applescript be to open a screensaver?

Thank you so much!
Question by:fmwebschool
    LVL 53

    Accepted Solution


    Author Comment


    The problem is that I am a Windows user, I have a Mac, but I do not know how to write applescript.  So, looking at the code is not going to help me much :)

    Thank you for the sites though, but this has to be pure applescript I can call from FileMaker Pro.

    Thanks again :)
    LVL 2

    Assisted Solution

    The screen savers that come with the system are in:
    /System/Library/Screen Savers/
    The ones you have installed for alle users are in:
    /Library/Screen Savers/
    And finally, the ones you have installed for yourself only are in:
    Library/Screen Savers/
    in your home directory.

    To launch a screen saver using Apple Script, try the following:

    do shell script "/System/Library/Frameworks/ScreenSaver.framework/Resources/ -module 'Nature Patterns'"

    Change the name withing the single quotes ( ' ) at the end of the command to launch another screen saver, taking care not to remove any quote characters. Note that the name is specified _without_ the file extension (.saver or .slideSaver).

    Props to via google. :-)



    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
    Create a default user profile for Mac OS X 10.7/10.8 Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being. 1. Install a…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now