I’ve been searching all morning for a method to find the color profile currently used by each connected display. We’ve been using the below Image Events call but running this on OS Monterey is returning “missing value”.
tell application "Image Events"
launch
tell displays to set {cnt, dName, sProfiles} to {count it, name, display profile}
tell its display "Display 1"
set thisProfile to display profile
end tell
end tell
Does anyone know of a different method to find this info in Monterey? system_profiler only has display name/type info.
Posted on another forum and got a solution so will post here too. This does the trick to get the main display’s color profile on Monterey:
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use scripting additions
tell (current application's NSScreen's mainScreen())
set displayName to localizedName() as text
set colorSpace to (localizedName() of colorSpace()) as text
end tell
return {Display_Name:displayName, Color_Space:colorSpace}