• 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
Re: change the desktop picture(was two questions)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/>


  • Prev by Date: making new documents with Style
  • Next by Date: Re: making new documents with Style
  • Previous by thread: Re: making new documents with Style
  • Next by thread: Re: change the desktop picture(was two questions)
  • Index(es):
    • Date
    • Thread