tp-link路由器,做个自动登陆?
这几天想做个自动登陆路由器,并打开里面运行状态那个链接,看下运行状态,这个不知脚本怎么做? If WinActivate('连接到 10.1.1.1','确定') ThenControlSetText('连接到 10.1.1.1','确定','edit2', "admin" )
ControlSetText('连接到 10.1.1.1','确定','edit3', "123321" )
ControlClick('连接到 10.1.1.1','确定','button2')
测试上面的代码不行 登陆解决了~就是进入路由器后怎么能点击选项啊,就是"运行状态"那项?还有上面那些按钮? <HTML><HEAD><TITLE>TL-R478高速宽带路由器</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content=no-cache http-equiv=pragma>
<META content="wed, 26 Feb 1997 08:21:57 GMT" http-equiv=expires>
</HEAD>
<FRAMESET border="0" rows="94,*" cols="*" frameBorder="NO" frameSpacing="0" >
<FRAMESET border="0" rows="*" cols="185,*" frameBorder="NO" frameSpacing="0" >
<FRAME name="topLeftFrame" src="/frames/logo.htm" scrolling="no" noResize>
<FRAME name="topRightFrame"src="/userRpm/BannerRpm.htm" scrolling="no"noResize>
</FRAMESET>
<FRAMESET border="0" rows="*" cols="158,30,*" frameBorder="NO" frameSpacing="0" >
<FRAME name="bottomLeftFrame"src="/userRpm/MenuRpm.htm?MainID=0&SubID=0" scrolling="yes"noResize>
<FRAME name="arcFrame" src="/frames/arc.htm" scrolling="no"noResize>
<FRAME name="mainFrame" src="/userRpm/MainRpm.htm">
</FRAMESET>
</FRAMESET>
<noframes><BODY onLoad="doPop();">对不起,您的浏览器不支持框架!</BODY></noframes>
<HEAD><META content=no-cache http-equiv=pragma></HEAD></HTML>
附上网页代码 谁指点下啊?!!!
页:
[1]