Jump to content
Sign in to follow this  
dysong3

Custom dialog skipped over

Recommended Posts

I am confronted with a weird problem I have never encountered before. I have just made a script in which there is a custom dialog box, however when the script runs the custom dialog box flashes on without pausing, rendering any response to the question asked impossible. My experience with custom dialog boxes up till now, was that they imposed an indefinite pause in the script so that the user would respond. Am I missing something really obvious here, or have I come across a bug ?

Share this post


Link to post
Share on other sites

Corrupt script?

Rewrite the script from scratch to test.

Share this post


Link to post
Share on other sites

Thanks for the suggestion. If it's a corrupt script, in rewriting it I am duplicating the corruption. It still does not pause on custom dialog.

Share this post


Link to post
Share on other sites

Here it is. The culprit script is "back from local.ch and paste"

adresses.fmp12.zip

Share this post


Link to post
Share on other sites

Thanks for the suggestion. If it's a corrupt script, in rewriting it I am duplicating the corruption. It still does not pause on custom dialog.

Not so. If you rewrite it FROM SCRATCH then you will eliminate the possibility that the original script is corrupt.

You could only duplicate the corruption if you were to duplicate the script and then edit the new one - as I said, do it from scratch, after all that's how it began life.

Share this post


Link to post
Share on other sites

Sorry but I beg to differ. I have just rewritten it from scratch ( unless you call scratch rewriting all the scripts that are called up with the "perform script" steps) and I still don't get a pause on the Custom dialog step. Were you able to get it to pause there ?

Share this post


Link to post
Share on other sites

Ok you have eliminated corruption.

Unable to test as no fm12 at the moment, possible tomorrow.

What is your operating system and version?

Share this post


Link to post
Share on other sites

Here it is. The culprit script is "back from local.ch and paste"

The attached file is password-protected.

Share this post


Link to post
Share on other sites

I found out what was wrong. A script that is performed a few steps before the Custom dialog, is an Applescript step that had a superfluous "return" in it. And strangely the return was okaying the custom dialog even though several other steps were performed in between. A silly error on my behalf with an almost logical explanation. Thanks for all your comments that have helped me work this through.

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.