I'm getting this error while trying to read or write text to a text field in ASS:
NSCannotCreateScriptCommandError (10)
this is what the code looks like:
on clicked theObject
set thedate to contents of text field "datefield" of window "mainwindow"
end clicked
I found another person having the same error, but no one was able to help him.
Any one have an idea?