Put a button on the layout and specify a script that has no actual steps in it, then specify "Resume" from the "current script" drop down.
(This trick worked even back in filemaker 3 days...)
ah thanks Phil I guess that would get us out of worst case scenario
except then there is the button at all times whether or not a script is paused, which would be confusing, especially to an enduser. And then you wouldn't know when you WERE paused in a script.
is there a way to display it only when paused? or something like that
If there's no script running the button, I believe, will simply do nothing. There are ways to implement features normally seen in the status bar when it is hidden. I always hide the status bar for the reasons you mention.
There are several ways to make the button appear and disappear as needed.
- You can have your script navigate to a layout that looks just like the current layout, but has the continue button. WHen the button is clicked to continue the script, the script navigates back to the "no button" version of the layout to make it disappear.
- You can hide a button under an invisible tab control, give the tabs object names and use go to object to hide/reveal the button on the tab.
- You can place the button on a portal to a related record. Chaninge the value of a field used in the relationship so that there is or isn't a matching record will hide and reveal the button.
- I've also just trained users to press the enter key or popped up a custom dialog to pause the script.