June 16, 200223 yr 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
June 16, 200223 yr 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
Create an account or sign in to comment