Jump to content

Default timeout for MsgBox?


Angel
 Share

Recommended Posts

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

Link to comment
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)

Link to comment
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).

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...