• 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: get current display resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get current display resolution


  • Subject: Re: get current display resolution
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 19 Jul 2001 12:20:22 -0400

on 7/18/01 9:31 PM, Erik Norton at email@hidden wrote:

> went searching for a one-liner to get the current
> screen resolution.

Use QuickTime Player. The 'dimensions' property of the 'display' class in
QuickTime Player returns the size as a 'point' (a list of horizontal and
vertical values). As a bonus, you can specify which of several monitors you
are interested in, by its integer index, using the 'display' element of
class 'application' supplemented by the 'main' property of class 'display'.

This is available in both the classic Mac OS and Mac OS X.

I believe there is some other Apple software (besides the Finder and Apple
System Profiler) that can do this, but I've forgotten what it is.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA

The AppleScript Sourcebook - www.AppleScriptSourcebook.com
Vermont Recipes - www.stepwise.com/Articles/VermontRecipes


References: 
 >get current display resolution (From: Erik Norton <email@hidden>)

  • Prev by Date: Quark Data Merge
  • Next by Date: Re: writing multiple files
  • Previous by thread: Re: get current display resolution
  • Next by thread: Re: get current display resolution
  • Index(es):
    • Date
    • Thread