[argyllcms] Automation of Argyll tools

  • From: "Martin Weberg" <martin.weberg@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 11 Aug 2008 20:30:16 +0200

Hi list!

Normally, on windows platform, I use bat-files to automate argyll usage. Now
I tried using applescript on mac, with little success. Have anyone on this
list some tips or better examples on scripting the terminal on mac.

Example of how I calibrate/profile my display using a bat-file:
@echo off
cls
echo Calibrate and profile display using ArgyllCMS.
pause
C:\argyll\bin\dispcal -v -yl -t5000 -b160 -gl -p0.5,0.5,2.0 profile
C:\argyll\bin\targen -v -d3 -g20 -m5 -f500 profile
C:\argyll\bin\dispread -v -yl -kprofile.cal -p0.5,0.5,2.0 profile
C:\argyll\bin\colprof -v -D"display-5000-160-L" profile
rename profile.icm display-5000-160-L.icc
copy display-5000-160-L.icc C:\Windows\System32\spool\drivers\color
del profile.cal profile.ti1 profile.ti3 display-5000-160-L.icc
pause

Martin Weberg

Other related posts: