How do you get both a button returned and a text returned from a single dialog?
For example:
display dialog "Hello!" default answer "" buttons {"Hi!"}
set x to the text returned of the result
set y to the text returned of the result
^ This will get the result of x for y. How is it possible to get x and y from the dialog?
MacBook Air (13-inch Late 2010), OS X Yosemite (10.10.5)