Jump to content

NETGEAR WNA1100 Smart Wizard Wifi Swicth dc and reconnect


bufust
 Share

Recommended Posts

I cant remember if it was this site or some other site i saw a guy asking how to make a wifi type button. kinda like a laptop. Reason why is unknown, but i wanted to post this case if it was on this site.

i automated NETGEAR WNA1100 Smart Wizard to re apply the connection witch dc's you briefly why any one would need something like this. is beyound me.

and yes he uses the NETGEAR WNA1100 Smart Wizard. cause he was trying automate it what cought my attention on it cause i got the same thing. but heres the code i used.

HotKeySet("{F6}","_dc")
WinSetTitle("[CLASS:Shell_TrayWnd]","","THISISNAME")
while 1
    sleep(100)
WEnd
Func _dc()
if not WinExists("NETGEAR WNA1100 Smart Wizard") Then
msgbox("1","Error","Error, Please make sure NETGEAR WNA1100 Smart Wizard is running")
ElseIf WinExists("NETGEAR WNA1100 Smart Wizard") then
ControlClick("THISISNAME","","[ID:1502]")
SLEEP(1000)
MouseMove(1258,663,1) ; this is where the icon is in the  the tray when it is opend  find  your cords and change
MouseClick("left")
WinWaitActive("NETGEAR WNA1100 Smart Wizard")
    ControlClick("NETGEAR WNA1100 Smart Wizard","","[ID:1018]")
    WinSetState("NETGEAR WNA1100 Smart Wizard","",@SW_RESTORE)
    ControlClick("NETGEAR WNA1100 Smart Wizard","","[ID:1016]")
endif
EndFunc
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...