• 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: Desktop Picture Size/Bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Desktop Picture Size/Bounds


  • Subject: Re: Desktop Picture Size/Bounds
  • From: Devon and Cornwall <email@hidden>
  • Date: Wed, 14 Mar 2001 18:26:12 -0800

At 9:10 PM -0700 3/13/01, Craig Simons wrote:
>I want to have the Appearance Control Panel set the desktop picture
>positioning to "centered" when the picture is smaller than the monitor and
>"scale" or "fill" otherwise. I'm sure I can find an OSAX for the screen
>size/bounds, but how/where can I get information on the size/bounds of
>PICT/JPEG/GIFf desktop pictures (not to mention other formats)?

Use the size of the desktop's "window" to get your screens resolution.

tell application "Finder"
set screenSize to bounds of container window of desktop
end tell
-->{0, 20, 832, 624}, OMM

For getting the dimensions of your images,We suggest Leonard
Rosenthal's port of "ImageMagick_AE"
http://www.lazerware.com
which is designed for this and much more, and comes with some example scripts.

It is* doable in AppleScript only
(but good luck) ; )

Devon and Cornwall
--never wear brown shoes with a blue suit


References: 
 >Desktop Picture Size/Bounds (From: Craig Simons <email@hidden>)

  • Prev by Date: Re: upgrade issues: 8.1 --> X
  • Next by Date: Cumulus Droplet with comments?
  • Previous by thread: Desktop Picture Size/Bounds
  • Next by thread: [Q] How to get name of user ?
  • Index(es):
    • Date
    • Thread