I have a need to take measurements of a test patch periodically at short
intervals, and have so far worked around the problem by starting spotread with
the following command:
./spotread -e -x -Y A [logfile]
followed by an Applescript that does the job of sending keypresses to actually
take the readings, every 0.5 seconds. I’m using a Klein K10-A meter, who’s
specs say that reads should take 125ms, so 0.5 seconds should fine, and indeed,
my current results do seem to prove that fact. My readings are all around
several hundred nits, so the Klein doesn’t need to average readings, and in
order to maintain the fast read speed in case of any dark reads (which I don’t
care about the accuracy of), I’ve used the -Y A switch to prevent averaging.
I’m looking to make this process more portable (i.e. for use on Linux and
Windows) and therefore remove the need for the Mac only AppleScript to
function. Am I missing something that is already present that could do this for
me without making a feature request?
I’ve tried using the single measurement switch -O, but this is very slow
(several seconds), presumably because the application has to do some
I don’t require a test patch to be generated, I’m doing this separately, and
must continue to be able to do so; any suggestions that make use of a test
patch file will not work for me I don’t think. I also don’t need to synchronise
test patterns with readings; the intention is simply to see how a display
renders a static, or moving test pattern over time
AppleScript that I’d like to eliminate, for reference:
repeat 20 times
repeat 120 times
tell application "System Events"
set frontmost of application process "Terminal" to true
Thanks in advance for the help!