Greetings. I hope this is an easy question but have not found the command or any source code which illustrates how to do this.
I have a series of text fields in a window. I check each for length on changed, and would like to reassign focus to the next field when the current field reaches the correct length. Logic and experience with other languages tells me to use something like:
focus text field "theField" of window "Application"
Please let me know if there is a way to do this, as it is not apparent anywhere I’ve checked so far.
Thanks…jg
I kind of worked around that until I didn’t need it anymore. I figured recently that it was a problem with correctly identifying the object, as you mentioned. I’ll go back and make sure, and then use it in an upcoming application where I am already sure I’ll need it.