Jump to content

Recommended Posts

Posted

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?
Posted
  On 10/4/2014 at 1:01 AM, Danp2 said:

 

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

  Reveal hidden contents

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

Posted
  On 10/4/2014 at 1:01 AM, Danp2 said:

 

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

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...