Sign in to follow this  
Followers 0
Angel

Default timeout for MsgBox?

7 posts in this topic

Hi,

I am writing an AutoIt script using the newest AutoIt beta. I use MsgBox but surprisingly it seems that now by default the messageboxes timeout, and they timeout pretty quickly (I'd say in less than 10 seconds).

If I am not mistaken, it dis not use to be this way. Is there a way to go back to the original behaviour for timeouts? Is there an AutoIt option that I can set for this instead of having to specify the timeout for each message box?

Thanks!

Angel

Share this post


Link to post
Share on other sites



small code that reproduces this behaviour ?

MsgBox(0,"Title","test")

As I said, all message boxes timeout after a few seconds!

Share this post


Link to post
Share on other sites

doesnt want to close automaticly, so i hitted OK :o

doesnt seem to be a problem, what version/OS are you running.

I am using WindowsXP (SP1), and the latest autoit beta (v3.1.1.87 (beta)).

I just found out that if I run this directly by double clicking on the script or from SciTe it works as expected (i.e. no timeout) but if I run it using AutoEd (using the "Run script" button), as I was, then I get the problem. Does this make sense? B)

Share this post


Link to post
Share on other sites

Angel, if that is the case, try running a script which never ends:

While 1
    Slep(100)
Wend

See if this script automatically terminates. It could be that the editor is terminating the child process (AutoIt).

Share this post


Link to post
Share on other sites

Angel, if that is the case, try running a script which never ends:

While 1
    Slep(100)
Wend

See if this script automatically terminates. It could be that the editor is terminating the child process (AutoIt).

Actually, that is what was happening. I don't understand why... I guess I'll have to contact the AutoEd guys to learn more about it (and perhaps start using SciTe which seems quite good!).

Thanks guys,

Angel

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  
Followers 0