I have an app coded in Applescript where a dialog pops up with three buttons: {Help, Add, Subtract} . When user taps the Help button, a dialog should popup displaying information about the app.This dialog will have a {Cancel,Continue} button. When user taps the Continue button, he should be returned to the previous dialog( The dialog with three buttons: {Help, Add, Subtract}). But I cant get it to work. Here is my code:
set question to display dialog "I want to" buttons {"Help", "Add", "Subtract"} default button 2
set response to button returned of question
if response is equal to "Help" then
Help()
end if
ere is my Help Function
on Help()
display dialog "blah blah" buttons {"Cancel", "Continue"}
return
end Help
How do I resume execution with the dialog with three button?
