Hi,
I’m trying to teach myself AppleScript Studio. I’ve created a basic interface with a button and an NSTextField. The button, when clicked, is supposed to set the contents of the text field, using this script:
on clicked theObject
set content of the text field “theOutput” of “theWindow” to “test”
end clicked
Instead, I get this error:
Can’t make “theOutput” into a integer. (-1700)
Which I don’t understand because I’m not trying to coerce the text field. I’ve tried setting the content “as text”.
What am I doing wrong?
Thank You,
Chris