Okay, in that case I can certainly provide some pointers for OS X :)Create a textfile (in the example saved as argyll.command) with the following contents:
#!/bin/bash set +v PATH=/your/path/to/argyll/bin:$PATH clear alias pause='read -p "Please press any key to continue..."' echo Calibrate and profile display using ArgyllCMS. pause dispcal -v -yl -t5000 -b160 -gl -p0.5,0.5,2.0 profile targen -v -d3 -g20 -m5 -f500 profile dispread -v -yl -kprofile.cal -p0.5,0.5,2.0 profile colprof -v -D"display-5000-160-L" profile cp profile.icc /Library/ColorSync/Profiles/display-5000-160-L.icc rm profile.cal profile.ti1 profile.ti3 profile.icc pause(instead of "cp profile.icc ...", you could also do dispwin -v -Sl -I display-5000-160-L.icc to install profile & load LUT curves) You can run this from Terminal. If you want an applescript solution, its maybe easiest to just run this command file:
Open Script Editor, create the following script, save as Application or Application Bundle to the same place as argyll.command.
set working_dir to POSIX path of (path to me) tell application "Terminal" to do script working_dir & "argyll.command" Martin Weberg schrieb:
Hi,I'm interested, but I really like having just one file (script) containing all the commands.Martin Weberg 2008/8/11 Florian Höch> Hi, if you're just interested in display calibration and can wait until the weekend (but I won't promise anything ;)), I'm currently working on a first release of my cross-platform GUI for that purpose (Windows, Mac OS X, Linux [but I need to setup my Linux box first], written in Python/wxPython) which will also allow you to automate the calibration (sans keystrokes, at the moment you'll have to press the keys yourself). Regards, Florian Höch Martin Weberg schrieb: 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