October 8, 200916 yr I have script A. Is says: .....Process New Window Goto Layout ["Review Data"] Pause/Resume Script [indefinitely] .....Continue to Process I execute Script A. It gets to the Pause. Now I am on the "Review Data" Layout I have A Button on that Layout. Button A Prints the Layout via a new script called "Print Layout" I really want Button A to Print the Layout, Close the "Review Data" layout and resume Script A. If I add: Close Window Exit Script to the Print Layout script, it does close the window, but it only exits the Print Layout script (which would happen anyway) Script A is still paused. How do I automatically step past the pause in script A?
October 8, 200916 yr Christian Marks, my brilliant former cube neighbor, totally helped me on this one when I got stuck recently. When you right-click on the button and go to Button Setup... and choose Perform Script there's a dropdown in that dialog where you can choose Pause/Resume/Other Stuff. Pause is the default. Make it resume. Again, thanks Christian. You saved my day on this one (and possibly CCBtx's)
October 8, 200916 yr Author Hey Lauren... I know that works if I assign "resume" directly to the button. The problem is that I want to assign the button to a script... and then have the script execute the resume. Thanks anyway for the response. CCB UPDATE!!! OMG!!! You are so great.... I totally missed what you were saying. That works. Thanks so much!!! Edited October 8, 200916 yr by Guest
October 8, 200916 yr Do you have other buttons on the layout? Sounds to me like your structure should be: Script A stuff Pause user clicks Print (button set to Resume) Perform script "Print" (doesn't need to be subscript). Close Window // end of ScriptA
October 8, 200916 yr Author Yes. Actually I do. I have a Print Button (Button A) and a Cancel Button (Button I think Lauren's solution worked. Thanks so much for the reply.
Create an account or sign in to comment