I want to do the following in a script:
The script displays a dialog which asks a question demanding a numerical answer. As in "How many nerds?" The user types his/her answer into the dialog box, which closes when the user hits Return. The entered number is then added to a calculated field.
Perhaps I missed something obvious here, but it looks like dialogs can not receive any other data than button clicks. As in OK or Cancel.