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

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

Recommended Posts

  • Newbies
Posted

fileMaker 5.5: I would like to pause a script so the user can make a selection by clicking a button on the screen. I would like this button to take some action but to then continue the paused script. How can I do this? It seems that the only way to continue a paused script is to click the continue icon in the status area.

Posted

In Layout mode, select the button, then go to Format -> Button... and you'll find a pull-down selector that says "Pause current script." Change that to "Continue" and the script will resume when the button is clicked.

-Stanley

  • Newbies
Posted

This sounds close to what I want to do. However, I want the button that I click to run a script and then continue the script that opened and paused the screen.

Posted

It sounds like you want all this to happen on the same layout. If so, what you do is actually create two nearly identical layouts - the only difference being that on the first one, the button starts the script. Then, when you reach the point you want to pause, you switch to the other layout. In this second layout, the button simply resumes the script. Otherwise they're identical. You might want to change the text or icon on the button to reflect what's happening.

-Stanley

Posted

I may be wrong but you could also control the script triggered with a global field. You'd need to keep the settings of the button to "continue" as Stanley said

g_ControlScript (global, number)

The script could go

SetField (g_ControlScript ,Abs(g_ControlScript -1))

If (g_ControlScript =1)

Do some other things

Else

Pause/Resume

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