I have search, but couldn’t find exactly what I was trying to do. I can change the contents of a text field. But how do I change the content of a label? I thought the following might work, but no dice.
set label "theAnswer" of window "iMetric" to "blah"
set value of label "theAnswer" of window "iMetric" to "blah"
set contents of label "theAnswer" of window "iMetric" to "blah"