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

Re: Display resolution


  • Subject: Re: Display resolution
  • From: email@hidden
  • Date: Wed, 9 Mar 2005 17:26:32 -0500

01. Download and install 'cscreen' (1).
02. Use the AppleScript code below as an example of how to utilize 'cscreen' via AppleScript.


set cScreen to (do shell script "cscreen")
set {dtIndex, dtDepth, dtWidth, dtHeight, dtRefresh} to {(word 14 of cScreen), (word 15 of cScreen), (word 16 of cScreen), (word 17 of cScreen), (word 18 of cScreen)}


display dialog " 'Index' value : " & dtIndex & "." & return & " 'Depth' : " & dtDepth & ", bits." & return & " 'Width' : " & dtWidth & ", pixels." & return & " 'Height' : " & dtHeight & ", pixels." & return & " 'Refresh' rate : " & dtRefresh & ", Hz." buttons {"OK"} default button "OK"

(1) - '<http://www.pyehouse.com/lynn/cscreen.dmg>' [84 kb in size], as posted by 'Joshua See <email@hidden>' on 23 Sept. 2003, under 'Subject: Re: Monitor color depth' to this ListServe.
--


SJWL
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Select Similar in PhotoShop
  • Next by Date: What are the limitations of the AppleScript data structure and tools?
  • Previous by thread: Re: Display resolution
  • Next by thread: Re: Display resolution
  • Index(es):
    • Date
    • Thread