Search the Community
Showing results for tags 'timeout'.
-
Hi All, I went searching for something to speed up checking for files on the network (UNC Paths) Most examples were rather complicated but someones multi-threaded solution gave me an idea. Hope it is useful to someone. Seems to work well so far. Func _FileExistsTimeout($sPath, $iTimeout...
- 1 reply
-
- fileexists
- timeout
-
(and 1 more)
Tagged with:
-
Hi, I would like to create an message box with disabled buttons for specified amount of time after that period the buttons should be automatically enabled. Example code (but not working as desired): MsgBox(64, 'Sometitle', 'Please make sure to read this' & @CRLF & 'Are you s...
-
---------- edit: this is probably in the wrong place, can a moderator move it to wherever it belongs? ---------- is there any way to completely disable TCPTimeout and make TCPRecv() wait indefinitely? maybe setting it to 0 or -1 or something? the docs doesn't seem to mention any way to dis...
-
Hi all, I was wondering if you can help me with the function called; InetRead(). My scripts are using this function a lot for several conditions and everything works fine! But sometimes when the server is a little bit buggy of simply not available my script is hanging. It takes about 9...
-
I have automated an install process by using the below code. Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc $win1 = "Text 1" $win2 = "Text 2" _Win...
-
Hello, if an IP address is not reachable then TCPConnect lasts about 21 seconds for me the return with the error. Now I wrote a function using my socket_UDF to set a timeout if the IP address cannot be reached. Have fun. _TCPConnectTimeout example #include "socket_UDF.au3" Global $iTimerStart...
- 5 replies
-
- TCPConnect
- Timeout
-
(and 1 more)
Tagged with:
-
Hi everyone I'll explain what I'm trying to achieve briefly: I run several websites and am running pilots for a new framework on a few server. I have a certain script set us like a bunch of checkboxes, one of which checks a URL for it's status response set to a $ClientURL variable. So I hav...
-
Edit 2: Complete rewrite of the function, simplified version using a single function and without use of GUICtrlSetOnEvent or AutoItSetOption. Correct centering of message. Edit 1: Updated function to correct possible misbehaving AutoItSetOption. MsgBox with Visual CountDown Self-explanatory I g...
-
We have several servers and I'm writing a server status monitor. I am trying to quickly determine if I can FTP to each of our local servers. When I successfully do an _FTP_Open(), then call _FTP_Connect(), the _FTP_Connect takes around 45 seconds to time out. I want to make the 'FTP-ability' te...
-
Hi, When I use traytip with timeout 20 secs, sometimes it stays for 20secs or more, but sometimes it fades away fast (less than 5 secs). What is the reason for this. Is there any work around. TrayTip("Title", "Text", 20) Sleep(30000) Roshith