Jump to content
Sign in to follow this  
tonycst

Hot to get value from IE object ID ?

Recommended Posts

$IEAttach = _IEAttach($AssemblyWindow)
$ID = _IEGetObjById($IEAttach, "lblItemData")
$Value = _IEFormElementGetValue($ID)
MsgBox(0, '', $Value)

I am not reading the value stored in this line of code

<SPAN id=lblItemData class=DisplayText style="WIDTH: 100%">5</SPAN>

The value is >5< and i am not reading it.

 

What am i doing wrong ?

thanks !

Share this post


Link to post
Share on other sites

my understanding is that _IEPropertyGet  gives me information about entire document rather then anything specific.

I guess i was wrong.

$Value = _IEPropertyGet($ID, "innertext")

did the trick.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...