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

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

Recommended Posts

Posted

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?

Posted

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)

Posted (edited)

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 by Guest
Posted

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

Posted

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.

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