#include <IE.au3>
$oIE = _IECreate ("http://www1.glhz.com/sale/index.html",0,1,1,0)
$oForm = _IEFormGetObjByName ($oIE, "loginForm")
$oQuery = _IEFormElementGetObjByName ($oForm, "j_username")
_IEFormElementSetValue ($oQuery, "user")
$oQuery = _IEFormElementGetObjByName ($oForm, "j_password")
_IEFormElementSetValue ($oQuery, "1234")
$Submit = _IEGetObjById ($oIE, "login")
$Submit.click
或#include <IE.au3>
$oIE = _IECreate ("http://www1.glhz.com/sale/index.html",0,1,1,0)
$oForm = _IEFormGetObjByName ($oIE, "loginForm")
$oQuery = _IEFormElementGetObjByName ($oForm, "j_username")
_IEFormElementSetValue ($oQuery, "user")
$oQuery = _IEFormElementGetObjByName ($oForm, "j_password")
_IEFormElementSetValue ($oQuery, "1234")
$Submit = _IEGetObjById ($oIE, "loginForm")
$Submit.submit
为什么不用_IEImgClick?
楼主试试在那个图片按钮右键看属性... |