Jump to content

resuming a script help


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

Recommended Posts

Here is the problem: I perform a find and then the script pauses. I would like it to continue. The trick is that the perform find is in a portal.

Script:

Find Mode

"The Portal opens with some fields and a button(the button = Perform FIND)"

GO TO Layout

PRINT

GO TO Layout

The pause happens after the button is pushed. In the toggle window, a continue or cancel button shows. How can I get the script to continue without any interaction from the user?

Thanks in advance

Link to comment
Share on other sites

Allow User Abort (off)

Set Error Capture (on)

Enter Find Mode (pause)

Goto Layout

Print()

Goto Layout

Set the button to "Resume Script"

I have don't know what you mean by "A portal opens" or by "Toggle Window" (Status Area?).

-bd

Link to comment
Share on other sites

Instead of changing ti Find mode and pausing while the user enter the criteria, use global fields and do it in browse mode.

Cretae a global field, say "findcriteria." In browse mode the person enters what they want to search for into the global field, then clicks on a button. The buttn run a script that changes to find mode, uses the Set Field step to insert the entry from the global field into the real search field, then performs the find. No pauses or resumes necessary.

Link to comment
Share on other sites

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