Re: Main screen size
Re: Main screen size
- Subject: Re: Main screen size
- From: Paul Skinner <email@hidden>
- Date: Thu, 25 Jan 2001 10:02:08 -0500
With dual monitors you'll recieve a list of the largest dimensions of both
screens combined, you'll need to know the possible resolutions to figure out
what size each is displaying.
{-1024, 0, 1024, 768}
2 -1024x768 screens.
{-640, 0, 1024, 768}
L is 640x480, R is 1024x768.
{-1280, 0, 1024, 1024}
L is 1280x1024 , R is 1024x768.
{-1152, 0, 1024, 870}
L is 1152x870, R is 1024x768.
--
Paul Skinner
>
From: Bill Briggs <email@hidden>
>
Subject: RE: Main screen size
>
At 9:30 AM -0600 24/01/01, Goodman, Steve wrote:
>
> I don't have dual monitors to test this on but it should get you started.
>
> Using Akua...try this:
>
>
I should have added: If you want to find out the bounds of the whole
>
space, and you want to do it without any Scripting Addition, you can
>
use the content space of the desktop available from the Finder. If
>
you have only one sreen, then it's the bounds of that screen.
>
>
tell application "Finder"
>
set x to bounds of (get content space of desktop)
>
end tell