Retrieve or set the current value in milliseconds _IELoadWait() will try before timing out
#include <IE.au3>
_IELoadWaitTimeout ( [$iTimeout = -1] )
$iTimeout | [optional] retrieve or specify the number of milliseconds 0 or positive integer sets timeout to this value -1 = (Default) returns the current timeout value (stored in global variable $__IELoadWaitTimeout) |
There is no way to completely disable the Timeout value.
You can functionally do this however by setting it to a very large positive integer.
The initial timeout value is 30000 ms (5 minutes).
; Set timeout to 1 minute (60000 milliseconds)
#include <IE.au3>
#include <MsgBoxConstants.au3>
_IELoadWaitTimeout(60000)
Local $iCurrentTimeout = _IELoadWaitTimeout()
MsgBox($MB_SYSTEMMODAL, "_IELoadWaitTimeout", $iCurrentTimeout / 1000 & " sec")