when i run the script first time script pause with any cause. But when i run it again script complete successfully....i couldn't understand. Why?
#Include <WinAPIEx.au3>
If @OSVersion ="WIN_VISTA" Or @OSVersion = "WIN_7" Or @OSVersion = "WIN_8" Then
_WinAPI_GetConnectedDlg(1,1+4+2)
WinWait("Connect to the Internet")
Sleep(100)
WinClose("Connect to the Internet")
Else
MsgBox(0,"Version Eror","Your windows version does not match. it is only for win 7 WIN_8 and vista"& @CRLF &a