Launch a screensaver with applescript

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!
Stephen
fmwebschoolAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

strungCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fmwebschoolAuthor Commented:

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 :)
Stephen
0
MacSverreCommented:
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/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -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 http://www.cocoadev.com/index.pl?ScreenSaverEngine via google. :-)

HTH!


     Sverre
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.