• 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: Main screen size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main screen size


  • Subject: Re: Main screen size
  • From: Doug Korns <email@hidden>
  • Date: Wed, 24 Jan 2001 10:01:08 -0800

>How can I get the size (in pixels) of the main screen?
>
If you have a single monitor system, the following will work nicely:

--
tell application "Finder" to get the bounds of window of desktop
--> {0, 20, 1152, 870} (* Less the menu bar space *)
--

On a multiple monitor, you get a result that sort of combines the whole
quickdraw space of all monitor space that's hard to make meaning of.

For a multiple monitor system, Jon9s Commands contains a 'screen list'
command that returns a very nice list of parameter settings for each
display.

Doug Korns


  • Prev by Date: Unmount network volume
  • Next by Date: Re: Desktop question
  • Previous by thread: Re: Main screen size
  • Next by thread: Re: Main screen size
  • Index(es):
    • Date
    • Thread