Re: get current display resolution
Re: get current display resolution
- Subject: Re: get current display resolution
- From: "J.B. Stewart" <email@hidden>
- Date: Thu, 19 Jul 2001 07:48:27 -0400
On 7/18/01 at 6:31 PM, Erik Norton <email@hidden> wrote:
>
went searching for a one-liner to get the current
>
screen resolution. checked all the usual resources
>
and found nothing easy. didn't come across the right
>
property obviously. could use ASP to create a
>
"devices and volumes" report as text file and parse
>
info out of there but don't want to. shouldn't be
>
that difficult, should it? couldn't coerce that
>
report into a record, either. anyway ... don't care
>
what format. list, string, record, whatever. thanx
>
for help.
>
Get personalized email addresses from Yahoo! Mail
>
http://personal.mail.yahoo.com/
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
Try -
tell application "Finder" to get bounds of content space 1
--> {0, 20, 1024, 768}
OMM the resolution is set to 1024x768 so list items 3 & 4 of the result contain
what you want.
John