Jump to content

Loop works on Mac, not PC


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

Recommended Posts

Wrote a little "jump menu" script:

When you click on a popup list, it calls a script that puts the cursor in the menu and starts a 1 second loop that waits for status(currentfieldname) to not equal the popup list fieldname.

Then it calls a subscript that does something.

Similar to popups on the web that take you to different pages after selection without having to hit a "GO" button.

It works great on my Mac FM 5.5v2 but not a friends PC FM 5.5v2. On his, he sees the list for a split second and then it goes away but the loop is still running.

Any ideas?

[ February 14, 2002, 11:51 AM: Message edited by: signal ]

Link to comment
Share on other sites

Rather than checking whether you are still in the field, why not check to see if the field has taken on a new value like this:

code:


Exit Record/Request

Set Field [gPopUp, ""]

Go to Field [gPopUp][select/Perform]

Loop

Pause/Resume["0:00:01"]

Exit Loop If [gPopUp <> ""]

End Loop

# continue with rest of script

Link to comment
Share on other sites

This topic is 7187 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.