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

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

Recommended Posts

Posted

If I press "cancel" after an "enter preview mode (with pause)" script step, the script stops. Is there any way to get it to perform an if statement. ( I tried : error capture/set global to last error/if global=1 … :but to no effect)

thanks for any help

Posted

John,

AFAIK, no--but I'm sure someone will prove me wrong. My only workaround is to split my scripts, with steps leading up to the preview in one script, and everything after it in a second script.

David

Posted

I think the best way is to make this the first step in your script:

Allow User Abort [Off]

Then there will be no Cancel button. If you want, give the user a choice to skip printing in a custom dialog - after continuing.

Posted

If you have Allow User Abort set to Off at the beginning of your script, a cancel button is never available. And even if Cancel is pressed on a Print dialog, the script will continue as usual.

Posted

Hi, i got a problem with Allow User Abort [Off]. I have done a pop up layout, when i click no it will stop the script and close the pop up and remain to my main layout. But i cannot go back to go back to layout mode anymore or even closing the file. I need to off the whole filemaker program and reopen it again. i got no choice to use [On] then as i got no problem with it at all.

what actually happened..?

can someone help me with it...

thanks a lot...

Posted

Good point! If you press Enter on the number keypad or Ctrl-Return, does the script continue?

Posted

Hi, the last coding for the pop up is pause/resume. and my icon 'no' is close script. If i choose [on], everything will went fine... Sorry i will try your way on mon when im back in the office, then will update you guys again..

Thanks yeah..

Posted

Hi yeah thanks, if i used [Off] i not able to access to layout mode but really when i enter 'enter' i can choose layout mode already. But why? Why does it works this way? anyway i can juse choose layout mode if i wish to and not necessary to enter 'enter'??

thanks a lot..

Posted

You've been asked to list your script. Until we see it, we can't tell how to fix it because we don't know where it's broken. :wink2:

Can you take a moment to list your script steps?

LaRetta

Posted

Your Yes and No buttons are set to Pause the currently running script, which is already paused. When you press Enter, the original script resumes.

Change the buttons to Halt the currently running script (double-click on them in Layout Mode and see the Options in the upper-right corner).

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