Himitsu Posted January 27, 2005 Posted January 27, 2005 I have trying to set a script that when the user is sent to a layout and it is set to pause, and the user wants to cancel, he/she will be sent back to another layout. I set a script with an "if" if get (lasterror)=1 go to layout else print end if I must have some order wrong. Any help would be great. Thanks
-Queue- Posted January 28, 2005 Posted January 28, 2005 I believe 'user canceled action' refers to clicking cancel on dialog boxes. It is better to use Allow User Abort [Off] in your script, so that no cancel button is available on the Status Area, and add a Cancel button, attached to a different script, to your layout instead.
Himitsu Posted January 30, 2005 Author Posted January 30, 2005 But if I set go to layout to pause, would the button still work on the layout? I will give it a try.
Himitsu Posted January 30, 2005 Author Posted January 30, 2005 I tried that, and the button won't work. I set the script for the button to exit script and go to layout.... maybe it is exiting it's own script...
stanley Posted January 30, 2005 Posted January 30, 2005 Himitsu: Your button's script is exiting itself. You should set it to go to layout first, then use Halt Script, which kills all running scripts. -Stanley
RalphL Posted January 30, 2005 Posted January 30, 2005 In the button dialog box there is a choice of what to do with current script. The default value is Pause. You can Halt, Exit or Resume in addition to Pause. It is in the lower left of the Options box.
Recommended Posts
This topic is 7240 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 accountSign in
Already have an account? Sign in here.
Sign In Now