Jump to content

Recommended Posts

Posted

i made a script for my linksys router, if the internet connections dropsdown it must reconnect autmaticaly.

but iam stucket can somone help me ferther.

it must check if outside ip is 0.0.0.0.

if that is the case it must do the script down

#include <Inet.au3>
$PublicIP = _GetIP()

 

Run("C:\Program Files\Internet Explorer\iexplore.exe http://192.168.1.1/Status_Router.asp")
WinWaitActive("Verbinding maken met 192.168.1.1")
ControlSend("Verbinding maken met 192.168.1.1", "", "Edit2", "admin")
ControlSend("Verbinding maken met 192.168.1.1", "", "Edit3", "aapie")
ControlClick("Verbinding maken met 192.168.1.1", "", "Button2")
Posted

Hi,

I think your script, (if it works) is already done. I would start the script whenever you think your rouer is down. It doesen't make sense to me, to let a script check that isssue all the time. Or is your router every 5 min down? :D Then I would go and buy a new one.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Posted

Nevertheless, I would start the script if needed and not running it all the time in the background.

Your decision! :D

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...