Go Back   The macosxhints Forums > OS X Help Requests > AppleScript



Reply
 
Thread Tools Rate Thread Display Modes
Old Yesterday, 12:14 PM   #1
benwiggy
League Commissioner
 
Join Date: Aug 2006
Location: London
Posts: 5,841
Get value for kCGDirectMainDisplay

I want to get the the value of kCGDirectMainDisplay using AppleScript or shell scripting.
I can't work out how to do it.

Code:
set DisplayID to CGDirectDisplayID's kCGDirectMainDisplay
doesn't work.
benwiggy is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.