Re: Display resolution
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