Reputation: 101
How do I connect a textField in interface builder to my applescript code in xcode 3.2?
I am using applescript in Xcode 3.2.
Thanks
Tom
Upvotes: 0
Views: 155
Reputation: 26
Do you mean create a text field box in applescript? If so, then copy this
set answer to text returned of (display dialog "Enter the Secret Code:" with title "TextField" default answer "" buttons {"Cancel", "Enter"} default button 2 with hidden answer)
Upvotes: 1