• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
change desktop wallpaper
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

change desktop wallpaper


  • Subject: change desktop wallpaper
  • From: Julian Flach <email@hidden>
  • Date: Mon, 26 May 2008 18:04:32 +0200

Hi everbody,

I try to make a little script, which changes my desktop wallpaper, but I've a problem...

I have the following piece of code:

tell application "Finder"
set desktop picture to {"Macintosh HD:Users:test.jpg"} as alias
end tell

But wenn I execute the code, I get the message: ' Couldn't find the file "Macintosh HD:Users:test.jpg" '. But the file exists at these place, because if I write

tell application "Finder"
open file "Macintosh HD:Users:test.jpg" 
end tell

there is no error and the image opens.

Can anybody tell me, what is my problem or what I've done wrong?

Thanks for your help!

Greetings
Julian

Attachment: PGP.sig
Description: This is a digitally signed message part

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

This email sent to email@hidden

  • Follow-Ups:
    • Re: change desktop wallpaper
      • From: Ed Stockly <email@hidden>
    • Re: change desktop wallpaper
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: choose from list defaults
  • Next by Date: Re: change desktop wallpaper
  • Previous by thread: Re: choose from list defaults
  • Next by thread: Re: change desktop wallpaper
  • Index(es):
    • Date
    • Thread