Angel Posted November 8, 2005 Share Posted November 8, 2005 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 More sharing options...
w0uter Posted November 8, 2005 Share Posted November 8, 2005 small code that reproduces this behaviour ? My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Angel Posted November 8, 2005 Author Share Posted November 8, 2005 small code that reproduces this behaviour ?MsgBox(0,"Title","test")As I said, all message boxes timeout after a few seconds! Link to comment Share on other sites More sharing options...
w0uter Posted November 8, 2005 Share Posted November 8, 2005 (edited) doesnt want to close automaticly, so i hitted OK doesnt seem to be a problem, what version/OS are you running. Edited November 8, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Angel Posted November 8, 2005 Author Share Posted November 8, 2005 doesnt want to close automaticly, so i hitted OK 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? Link to comment Share on other sites More sharing options...
Valik Posted November 8, 2005 Share Posted November 8, 2005 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 More sharing options...
Angel Posted November 8, 2005 Author Share Posted November 8, 2005 Angel, if that is the case, try running a script which never ends:While 1 Slep(100) WendSee 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now