Jump to content



Photo

how to detect that internet connection is disabled


  • Please log in to reply
1 reply to this topic

#1 Roostaamir

Roostaamir

    Seeker

  • Active Members
  • 6 posts

Posted 07 July 2012 - 05:20 AM

hi everyone
first I should thank u for your previous helps

now I am facing a new problem

you see,here ISP s are some jerks
my internet goes down every 15 minutes and I should restart my modem in order to have my connection back
I wrote a script for modem restarting and it is working fine

the is,I want to write a script that checks the connection every 10 minutes for example,and if there were no connection,execute the app I have written for modem restarting

Can anyone help me?

thanks in advance
best regards







#2 JohnOne

JohnOne

    John

  • Active Members
  • PipPipPipPipPipPip
  • 8,871 posts

Posted 07 July 2012 - 06:44 AM

There are a few ways, here is a link to a wiki example.

http://www.autoitscript.com/wiki/Snippets_(_Internet_)#IsInternetConnected.28.29_.7E_Author_-_guinness
AutoIt Absolute Beginners Require a serial
Run('hh mk:@MSITStore:'&StringReplace(@AutoItExe,'.exe','.chm')&'::/html/tutorials/helloworld/helloworld.htm','',@SW_MAXIMIZE)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users