Rick Edwards Posted October 24, 2001 Share Posted October 24, 2001 Here is a script I'm trying to run: If ["Status(CurrentFileName) = "temp_2x3""] Save a Copy as [ ] Open [ ] Else Go to Record/Request/Page [First} End if I would like to know how to exit the script if the user hits the "cancel" button on the Save A Copy As dialog box. Thanks. -Rick Quote Link to comment Share on other sites More sharing options...
birdman Posted October 25, 2001 Share Posted October 25, 2001 Rick, Yes, is the answer to your question with a few minor modifications to your script. Add the script step: Set Error Capture [On] at the very beginning of your script. Then After the Save a Copy as step enter the following: If ["Status(CurrentError)=1"] Exit Script End If This should do it. Quote Link to comment Share on other sites More sharing options...
norm douglas Posted November 25, 2001 Share Posted November 25, 2001 You could also use the Show Message function. This would allow you to display a message and then make a choice eg button 1,2,3 and what to do from there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.