Sign in to follow this  
Followers 0
allcapone1912

_IEGetObjById not working

5 posts in this topic

hi,can someone help me with IE.au3 

can not get value by id

#include <IE.au3>

Sleep(1000)
$oQuery = _IEGetObjById ($oIE, "get_now_msg")
MsgBox(4096,"", $oQuery)
 
 
i can make its work with Mozila FF.au3
 
#include <ff.au3>
Sleep(1000)
$oQuery = _FFXpath("//div[@id='get_now_msg']", "textContent", 2)
 MsgBox(4096,"", $oQuery)
 
but with IE.au3 have tried a lot of of combination with no results,can someone help me?

Share this post


Link to post
Share on other sites



The _IEGetObjById is working fine. It's your MsgBox that is the issue (you can't display an object reference). Try this instead:

MsgBox(4096,"", $oQuery.innerHTML)

Share this post


Link to post
Share on other sites

 

The _IEGetObjById is working fine. It's your MsgBox that is the issue (you can't display an object reference). Try this instead:

MsgBox(4096,"", $oQuery.innerHTML)

 

Sorry for the offtopic, there's any doc/help file with all the VB comands we can use with IE objects? (like the one you used, innerHTML)


Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Share this post


Link to post
Share on other sites

 

The _IEGetObjById is working fine. It's your MsgBox that is the issue (you can't display an object reference). Try this instead:

MsgBox(4096,"", $oQuery.innerHTML)
Yes, You're absolutely right. Thanks

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0