Nerox Posted September 4, 2008 Share Posted September 4, 2008 ShellExecute(@ProgramFilesDir & "\Reset\Reset.bat") sleep(300000) _IECreate("www.xxxx.com") this code firstly reboot modem and waiting 300seconds than connect the webside.i dont want to wait 300seconds.modem takes ip between 100-300 seconds. i want to connect this site when the modem is on how can i do that. Link to comment Share on other sites More sharing options...
Nerox Posted September 4, 2008 Author Share Posted September 4, 2008 no answer?? Link to comment Share on other sites More sharing options...
Zomp Posted September 4, 2008 Share Posted September 4, 2008 no answer??ping router ip and go on when you obtain reply? Link to comment Share on other sites More sharing options...
ChromeFan Posted September 4, 2008 Share Posted September 4, 2008 (edited) ping router ip and go on when you obtain reply?While 1 Sleep(1000) $site = Ping("www.autoitscript.com",1000) If $site Then ;Do whatever you want EndIf WEnd Edited September 4, 2008 by ChromeFan Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, What happened? Casey Stengel Link to comment Share on other sites More sharing options...
Nerox Posted September 4, 2008 Author Share Posted September 4, 2008 While 1 Sleep(1000) $site = Ping("www.autoitscript.com",1000) If $site Then ;Do whatever you want EndIf WEnd its working thax for help 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