-- Copyright © 2012 Wizardry and Steamworks @ http://grimore.org -- GNU General Public License v3 -- Please see http://www.gnu.org/copyleft/gpl.html -- -- This script requires you to activate remote apple events -- On all machines that you want to turn on the screen- -- saver. You can do so by going to System Preferences -> -- Sharing and then turning on "Remote Apple Events". -- -- Add your own machines to the macs list. -- The format is: eppc://username:password@computer -- -- The example below will trigger the "Flurry" screen- -- saver on the imac.local and macbook.local machines. -- The imac user is "john" with password "L774d8q9" and -- the macbook machine user is "jane" with password -- "084gr2b9". You must edit these and change them to -- the usernames and machines on your network. -- -- For more information, please see: -- http://grimore.org/osx:synchronize_screensavers -- Edit this to add your computers. set macs to {"eppc://john:L774d8q9@imac.local", "eppc://jane:084gr2b9@macbook.local"} -- End edit. repeat with mac in macs using terms from application "Finder" tell application "Finder" of machine mac sleep end tell end using terms from end repeat