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

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

Recommended Posts

Posted

I have the following script.

Show Message ["do you want to continue?"]

Go to Layout ["Budget"]

Page Setup [Restore, No dialog]

Print[]

The "Show Message" script window pops-up and gives a warning. The two buttons are "ok" and "cancel."

Is there something I can add so that if "ok" is chosen the script continues, if "cancel" is chosen then the script does not continue?

LR

Posted

Show Message ["do you want to continue?"]

If(Status(CurrentMessageChoice) = 1)

Go to Layout ["Budget"]

Page Setup [Restore, No dialog]

Print[]

Else

*** Whatever you do when you don't continue ***

End If

I kind of like messages to the user which make sense in their context. Such as:

Do you want to print? (YES, No)

Things like "continue" and "cancel" are kind of techy and don't always make sense to the user (cancel what? contine and do what?)

-bd

This topic is 8200 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.