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

5thplayer

macrumors newbie
Original poster
Sep 14, 2008
4
0
i have the following code

Code:
tell application "Finder"
set desktop picture to "<bob>:<Users:administrator:Pictures>:<Earth Horizon.jpg>"
end tell

but it keeps telling me that it it "cant make **** into a file type"


can anyone tell me what im doing wrong?

i was also wondering, how can i get the script to run for more than 1 user as in i logged in as the administrator and i want it to change the desktop picture for all users.

i have tried changing the : to / but no go either, please help lol im new to applescript


im using 10.5.4 in applescript on a intel mac

thanks
5thplayer
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.