本帖最后由 ysping 于 2016-8-11 13:47 编辑
回复 8# ysping
#include <C:\Program Files (x86)\AutoIt3\include\IE.au3>
$oIE = _IECreate ("https://*.*.*.*")
sleep(5000)
$oDiv = _IEGetObjById ($oIE, "overridelink")
_IEAction($oDiv ,"click")
sleep(5000)
$oForm = _IEFormGetObjByName ($oIE, "form1")
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery, "user1")
$oQuery = _IEFormElementGetObjByName ($oForm, "password")
_IEFormElementSetValue ($oQuery, "pass1")
$oQuery = _IEFormElementGetObjByName ($oForm, "button")
_IEAction($oQuery ,"click")
sleep(3000)
_IEAction ($oIE, "quit") |