点不到登录按钮
#include <IE.au3>
$oIE = _IECreate ("http://178.sdo.com/web2/index.aspx")
$oForm = _IEFormGetObjByName ($oIE, "aspnetForm")
$oQuery = _IEFormElementGetObjByName ($oForm, "ctl00$ContentPlaceHolder1$Ctrl_IndexLeft1$txtAccount")
_IEFormElementSetValue ($oQuery, "用户名")
$oQuery = _IEFormElementGetObjByName ($oForm, "ctl00$ContentPlaceHolder1$Ctrl_IndexLeft1$txtPassword")
_IEFormElementSetValue ($oQuery, "密码")
$oQuery = _IEFormElementGetObjByName ($oForm, "ctl00$ContentPlaceHolder1$Ctrl_IndexLeft1$ibLogin")
_IEAction($oQuery ,"click")
[ 本帖最后由 yt5588 于 2008-12-28 14:11 编辑 ] |