Fwd: Repost: Changing desktop pictures
Fwd: Repost: Changing desktop pictures
- Subject: Fwd: Repost: Changing desktop pictures
- From: Peter Beentje <email@hidden>
- Date: Fri, 24 Oct 2003 13:30:56 +0100
Source of the problem I was having was that if you've got the desktop
already rotating through pictures eg every hour, it ignores the calls
to change the source file. DigitEL's script working on his system
triggered me to test it with rotation off, and now it works fine -
thanks DigitEL ;)
Begin forwarded message:
From: DigitEL <email@hidden>
I tried replying to your original post a while back but have since
noted that my posts do not seem to be getting through to the list,
hmmm, however, the following script works fine on OS X.2 and updates
just fine. The problem I had was having images update when downloading
a webcam image to the same image file, calling it again did not work
and I had to resort to other methods, but, calling different image
files seems to work fine, note: this is with SystemEvents Beta which
you appear to already have.
tell application "Finder"
try
set theFile to (choose file)
set desktop picture to theFile
on error errM
display dialog errM
end try
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.