Re: Main screen size
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