Panceh Posted May 2, 2013 Posted May 2, 2013 #include <IE.au3> $oIE = _IECreate("https:/7localhost") $aArray = _IEGetObjByClass($oIE, "GIL3GQOBM1B", "div") $o = $aArray[1] MsgBox(1, "test", $o.innerText) _IEPropertySet($aArray ,'innerText','test') Func _IEGetObjByClass($oIE, $sClass, $sTag = "*") Local $aRet[1] = [0] Local $allHTMLTags = _IETagNameGetCollection($oIE, $sTag) For $o In $allHTMLTags If IsString($o.className) And $o.className = $sClass Then $aRet[0] += 1 ReDim $aRet[$aRet[0] + 1] $aRet[$aRet[0]] = $o EndIf Next Return $aRet EndFunc ;==>_IEGetObjByClasscould come up here trying to print from the input message contained in div How can I do more
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now