set prefsFolder to (path to "pref")'s POSIX path & "ByHost/" tell application "System Events" set prefsFile to property list file ((folder prefsFolder's first file where name starts with "com.apple.screensaver.")'s POSIX path) tell prefsFile set value of property list item "moduleName" to "Computer Name" set value of property list item "idleTIme" to 180 set value of property list item "modulePath" to "/System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/Computer Name.saver" end tell if exists process "System Preferences" then quit application "System Preferences" end tell
You are not logged in, either login or create an account to post comments
posted by fantabulous timewaster at 10:32 AM on January 2