Re: change the desktop picture(was two questions)
Re: change the desktop picture(was two questions)
- Subject: Re: change the desktop picture(was two questions)
- From: Ed Stockly <email@hidden>
- Date: Sun, 11 Feb 2001 12:49:19 -0800
>
Is there anyway to change the desktop picture via an applescript without
>
opening the Appearance Control Panel?
I don't believe you can do this instantly but you can script it so the next
time you startup you get a different picture.
First, create an image file and give it a generic name:
"Current Desktop Pic"
And make that the desktop picture using the Appearance control panel.
Next, write a script that will rename that file to something like:
Desktop Pic.x (x is a number)
And would rename a file in the same folder that you want to be the new
desktop pic from:
Desktop Picx.x++
to
Current Desktop Pic
Now, when you restart your mac will load the newly renamed file changing the
desktop picutre without using the appearance control panel.
If all the files in the folder are named "Desktop Pic.x" you can even
randomize the selection of the next picture with every restart.
HTH
When on the net visit: <
http://justapplescript.weblogs.com/>