淘宝网自动登陆
#include <GUIConstants.au3>
#include <IE.au3>
$oIE = _IECreate("http://member1.taobao.com/member/login.jhtml?f=top&redirectURL=http%3A%2F%2Fwww.taobao.com%2F",0,1,1,1 )
_IELoadWait ($oIE)
$UserName = _IEGetObjById ($oIE, "TPL_username")
If IsObj($UserName) Then $UserName.value = "用户名"
$PassWord = _IEGetObjById ($oIE, "Password_Edit") ;Password_Edit 这个可能错误,我一直找不正确
If IsObj($PassWord) Then $PassWord.value = "密码"
$submit = _IEGetObjByName ($oIE, "Submit")
If IsObj($submit) Then $submit.click
密码一直写不上去,请你们帮我看看改改,都什么错误。谢谢各位了! |