|
Quick Links
Calendar
Categories
Archives
XML/RSS Feed
Links
Radmind.org
Secret World of Nerds Radmind Webmin Module Mac OS X Labs Deployment Project afp548.com University of Utah's Mac OS Documentation Mike Bombich's OS X Software and Tips
Statistics
Total entries in this blog:
Total entries in this category: Published On: May 07, 2004 10:47 PM |
Enforcing ColorSync profilesWe had a need on certain machines to ensure that the
ColorSync monitor profile was always set to a specific ColorSync profile,
regardless of who logged in. This would ensure color consistency for all
artwork created at a given workstation.
The first part of the solution was to write an
AppleScript that set the display profile to the desired ColorSync profile:
property displayProfile : "/Library/ColorSync/Profiles/WDFA/WDFA.D65.g250.mac.icc"
on run
tell application "ColorSyncScripting" to launch
set displayFile to POSIX file displayProfile as alias
try
tell application "ColorSyncScripting"
repeat with x from 1 to (count of display)
set display profile of display x to displayFile
end repeat
end tell
on error errmsg
activate
display dialog errmsg
end try
tell application "ColorSyncScripting" to set quit delay to 5
end run
This script uses the “ColorSyncScripting” background app to set the display profile of all attached displays to our preferred profile. The second part of the solution was to use the method of globally launching items at login described in another article here. This method ensures the script will be run at login for every user who logs into the machine. Posted: Tue - November 18, 2003 at 09:44 PM |
||||||||||||||