change desktop wallpaper
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