Jump to content

Recommended Posts

Posted

#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 ;==>_IEGetObjByClass

Posted Image

could come up here trying to print from the input message contained in div How can I do more

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...