Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ecbtln818

macrumors newbie
Original poster
Jun 12, 2006
13
0
Code:
tell application "System Events"
	-- SET DESKTOP TO SPECIFIC PICTURE
	tell current desktop
		tell desktop "iMac"
			set picture rotation to 0 -- (0=off, 1=interval, 2=login, 3=sleep)
			set picture to file "Macintosh HD:Users:elubin:Pictures:My Photoshops:Background:atrium3xa.jpg"
		end tell
		tell desktop "Acer X203W"
			set picture rotation to 0 -- (0=off, 1=interval, 2=login, 3=sleep)
			set picture to file "Macintosh HD:Users:elubin:Pictures:My Photoshops:Background:atrium3xb.jpg"
		end tell
	end tell
end tell

I had thought that this was the way to do it but it just returns an error. Anyone know what I am doing wrong?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.