Getting Multiple Returns From A Dialog
Getting Multiple Returns From A Dialog
- Subject: Getting Multiple Returns From A Dialog
- From: Richard Simms <email@hidden>
- Date: Tue, 11 Mar 2003 13:02:04 -0500
Hello all,
How would one go about getting multiple results from a dialog with
three buttons and a text entry box? I want to store the button
returned in a variable and the text returned in a variable.
display dialog "TEXT" default answer "42" buttons {"one","two","three"}
set text1 to --text returned of the dialog
set button1 to --button returned of the dialog
This still won't work if i make the dialog equal something and try
and get the results from the variable.
m=(display dialog)
set text1 to text returned of m
set button1 to button returned of m
Is there a way that this will work or should i just go with multiple
dialog boxes?
Thanks for your time,
Richard Simms
--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.