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

Discussion in 'Mac Programming' started by I'm a Mac, Jan 30, 2009.

  1. macrumors 6502

    Nov 5, 2007
    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?

Share This Page