Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting the Screen Saver




On 26-May-05, at 7:27 AM, Courtney Braafhart wrote:


Thanks for all of your ideas. I am going to try locking down the preference pane file and modifing the plist file. The other thing I have been experimenting with is creating a cron job that performs a shell script that does a default write to the "com.apple.screensaver..... " file every few minutes. But I have been getting unexpected results.

I still think there should be an easy apple script answer : )


Try the following with whatever modifications you need for the file path on your machine and make sure password security is enabled in System Prefs:


tell application "Finder"
activate
try
open alias "MacHD:System:Library:Frameworks:ScreenSaver.framework:Versions:A:Resour ces:ScreenSaverEngine.app:"
on error errM
display dialog errM
end try
end tell



-- ForNow EL



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.