Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5419 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm using a custom dialog to confirm the user wants to run a script. The question is: clicking on the Default Button ("OK") or Button 2 ("Cancel") has the same effect, which is that the script is run.

How do I/Can I program the script so that it is aborted if the user clicks on "Cancel"?

Posted (edited)

Hi Karen,

Show Custom Dialog [ OK ; Cancel ; "Do you want to continue?" ]

If [ Get ( LastMessageChoice ) = 2 ]

... used selected Cancel

... do whatever you want to cancel the script and then Exit or Half Script

End If

... User selected OK so continue running

:wink2:

Edited by Guest

This topic is 5419 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.