on clicked theObject
tell window “main”
tell tab view “nametab”
set the char_name to the content of text field “Charname”
end tell
end tell
when I run this script I get this error and have no idea where I am messing up.
NSReceiverEvaluationScriptError: 4 (1)
I would appreciate any help. This is my first program and I am really frustrated.
Thanks in advance
Michael
jonn8
#2
You’re missing a level of the object hierarchy. Tab views contain tab view items which contain the other controls:
Jon
[This script was automatically tagged for color coded syntax by Convert Script to Markup Code]
That was the problem. Thank you for your help.