Jump to content
Sign in to follow this  
Mike Owen

Script loop interrupted by clicking other buttons

Recommended Posts

I'm having a problem with users interrupting a loop in a running script, by clicking other buttons (activating other scripts). (It's a navigation script to select the destination from a pop-up list WITHOUT having to click a further button to run a "Go to Layout" script.)

The loop has to include the step "Pause/Resume script ["0:00:00"]" to make the pop-up list stay open on screen (MacOS).

Go to Field - (makes pop-up list appear)


Pause/Resume script ["0:00:00"] - (keeps pop-up list open during loop)

Exit Loop If - (exits loop when user selects a value from pop-up list )

End Loop

Go to Layout - [Layout number from field] - (= selected value from pop-up)

However, when the user clicks any other button during this loop, the other button's script seems to take over, BUT the pause isn't resumed, leaving the user to work out he/she must click the 'Continue' button.

Any clues to 'the elegant solution' much appreciated.


Share this post

Link to post
Share on other sites

Make a new layout without the other button; go to that layout for this script.

Share this post

Link to post
Share on other sites

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
Sign in to follow this  


Important Information

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