Close current applescript app

Hi there,

Is it possible to make a button in a dialogue box close the app itself?


Yes it’s possible:)

if button returned of (display dialog "This is a dialog" buttons {"Continue", "Quit"}) is "Quit" then
end if

It could be “tell me to quit” too, I don’t know anymore…