Trip
Registered
Why does this not work?
Basicly I want a dialog to open (inside window1) and within the dialog will be some text, and a quit button. I then want it so that whenever a user clicks the "Quit" button then the program quits (duh!)...so is there another way to do this?
display dialog "Thank you for using Docker!" buttons {"Quit"} default button 1 attached to window "Window1"
if the button_pressed is "Quit" then quit
Basicly I want a dialog to open (inside window1) and within the dialog will be some text, and a quit button. I then want it so that whenever a user clicks the "Quit" button then the program quits (duh!)...so is there another way to do this?