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

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

Recommended Posts

Posted

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

Posted

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.

Posted

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...

Posted

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

Posted

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.

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 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.