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)