bobearl Posted December 9, 2009 Posted December 9, 2009 I'm wrestling with resuming a paused script. Background: Script 1 checks user-input fields for blank entries; if found, calls script 2 Script 2 opens a window with an explanation of the problem, a field in which to enter text for input into the blank field, and a "Cancel" button [script 3: Close window, halt script] and a "Correct" button [script 3: Close window, return text to appropriate field]. Both buttons resume Script 2. Problem: I would like to have the ability to resume script 2 not only from the Cancel or Correct buttons, but also by a script trigger (on object Save) from the field; this would allow the user to avoid reaching for the mouse after having keyed in the correction. I have looked over the forums, and it seems that others have run up against this and get the impression that there is no resume step that can be invoked from a script trigger in the same way it is from the button. http://fmforums.com/forum/showtopic.php?tid/202899/post/323522/#323522 My question: I could fix this if there is a scripted way to invoke a button click, by having a script trigger which invokes a script to <>. Is there a way to do this, perhaps for example by using the button's "Object Name"?
bcooney Posted December 9, 2009 Posted December 9, 2009 This is an old demo that shows how to handle pauses, cancels, etc. Taking it apart may help. PopupSelectDemo2.zip
Recommended Posts
This topic is 5467 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 accountSign in
Already have an account? Sign in here.
Sign In Now