Noob Question: Getting text from an editable text box

As a complete noob to ASS, I’ve designed a little window with some static text instructions, an editable text box and some buttons. I can handle the buttons, but don’t know which of the available handlers retrieves the text entered in the text box to my script in response to a button click.

Hi Adam,

just connect the button with the on clicked handler
and get the text directly with e.g.

set t to contents of text field "something" of window "what"

There is no need to assign any handler to the text field, unless you want to trigger an action,
while the user is entering, editing or leaving the field

Ahh, too simple, Stephan. Visions of complications danced in my head. :slight_smile: