• 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: Martin Deering <email@hidden>
  • Date: Mon, 12 Feb 2001 02:04:02 +0100

Hi Chumps & Chumpettes,
It is possible to script the 'desktop picture' (at least on OS 9.04)

tell application "Appearance"
launch
set picture file of monitor 1 to the_picture
set picture positioning of monitor 1 to centered
quit
end tell

*warning*
Be aware if you don't trap the code for non-image files, the 'Appearance'
application will try and set the file you give it to the desktop picture.
Yes, that's right, if you give it a PDF or sound or text file to display
it'll do it's best, and spend eternity redrawing your desktop icons. The
only solution is to wait, then open the control panel and reset the desktop
picture twice.
*end of warning*

I've written a droplet to take any image file dropped on it and use it as
the background picture. Ha! I no longer have to open an image editor to see
pictures, I just use the desktop. It's trapped for errors (so it won't
accept an Excel file for displaying on the desktop). I thought it was
overkill to post it in response to the question, but if anyone wants the
readable compiled text just mail me. It doesn't take account of the size of
the image, but it's way cool to just change the desktop image by dropping a
file on a droplet.

M.


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