AutoIT: 捕捉路由器登陆的小例子

$url2 = "AX.XXX.XXX.COM"
$oIE = _IECreate ($url2, 0, 1, 0, 1)
Sleep(1000)
ControlSetText('[REGEXPTITLE:连接到.+]', '', 1003, 'username')
ControlSetText('[REGEXPTITLE:连接到.+]', '', 1005, 'password')
ControlClick('[REGEXPTITLE:连接到.+]', '', 1)

 

posted @ 2013-08-16 15:51  chenpassion  阅读(487)  评论(0编辑  收藏  举报