PDA

View Full Version : Simple Question: For Xcode applescript app, how to accept data from textField?




I'm a Mac
Jan 30, 2009, 01:04 PM
I have an Applescript app in Xcode with an interface I made in interface builder. It was easy to set the button to activate the script, but I in the script, I want the user to be able to type in their name and the script will use that name? How exactly to I link the NSTextfield to the script? The only way I know how to do user input for a script is through display dialog. Is this possible?