#include <IE.au3>
$oIE = _IECreate ("http://www.ip-cn.com/?uid=taoge5210")
$oForm = _IEFormGetObjByName ($oIE, "searchForm")
$oQuery = _IEFormElementGetObjByName ($oForm, "query")
_IEFormElementSetValue ($oQuery, "AutoIt IE.au3")
_IEFormSubmit ($oForm, 0)
_IELoadWait($oIE)
如果换成www.google.cn 正常,可这个地址就是不行
返回如下错误代码,望大大指教!
--> IE.au3 V2.4-0 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch
--> IE.au3 V2.4-0 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEFormSubmit, $_IEStatus_InvalidDataType |