Jump to content
Server Maintenance This Week. ×

go to layout pause - cancel


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

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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