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

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

Recommended Posts

  • Newbies
Posted

Is there a way to automatically resume a paused script through Scriptmaker without having to rely on a user to hit the continue button? Do I need to Applescript this function or can I even do this?

Posted

Well... the option on pause/continue script lets you choose to have it timed, and some other things. Is that what you wanted? What exactly are you looking to trigger the script to continue?

Posted

How will FileMaker Pro know exactly when to resume the script?

  • 3 weeks later...
Posted

It sound like you are trying to initiate a For... While type of script which doesn't really work that well in FM but here is something that may work for you...

Use an If statement inside of a loop to look for certain criteria before continuing with the script. The criteria can be that a user filled in a field or that a calculation was true or whatever. Make sure you put an exit loop inside the if statement or your script will never finsh. The loop will continue until your condition is met and then terminate, allowing the rest of the script to finish.

It will look someting like this...

Step A

Step B

Loop

**** your stuff here

If (condition is true, 1, 0)

Exit Loop if 1

End If

End Loop

Step C

Step D

Where is says **** your stuff here is where you can expect user interaction. This may refer to a sub script or something.

This should help but if you need a more specific answer, let us know and post a more specific problem. (ie - what are you trying to accomplish?)

Posted

"Is there a way to automatically resume a paused script through Scriptmaker without having to rely on a user to hit the continue button?"

It depends upon that which you are trying to achieve.

There is this possibility:

...

Pause / Resume script [00:00:00]

next script step

Posted

I think you will find that this doesn't work as you have present it. While in the loop, FM will not allow you to make and entry into a field. You must put a pause (say for one second) inside the loop to allow user data entry.

-bd

Posted

This trick only works on the IBM side. I have used this trick to force a wait while the user selects from a value list, but can't get it work on a mac.

KISS

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