163邮箱登陆另类代码
代码一: #include <IE.au3>
$oIE = _IECreate("http://mail.163.com/",0,1,1,1 ) _IELoadWait ($oIE) $oInputs = _IETagNameGetCollection ($oIE, "INPUT") For $oInput In $oInputs if $oInput.name = "username" then $oInput.value="您的用户名" EndIf Next For $oInput In $oInputs if $oInput.name = "password" then $oInput.value="您的密码" EndIf Next For $oInput In $oInputs if $oInput.name = "登录邮箱" then _IEAction ($oInput, "click") EndIf Next Exit 代码二: #include <IE.au3> $oIE = _IECreate("http://mail.163.com/",0,1,1,1 ) _IELoadWait ($oIE) $UserName = _IEGetObjById ($oIE, "username") If IsObj($UserName) Then $UserName.value = "您的用户名" $PassWord = _IEGetObjById ($oIE, "password") If IsObj($PassWord) Then $PassWord.value = "您的密码" $submit = _IEGetObjByName ($oIE, "登录邮箱") If IsObj($submit) Then $submit.click |
<< IP格式判断函数在脚本中调用INF安装文件 >>
查看所有评论

