Jump to content
Sign in to follow this  
Arclite86

_IETagNameGetCollection problem

Recommended Posts

Arclite86

I am trying to read a ellement that with an "a" than a class name and than an url

this is what I have tried

#include <IE.au3>


local $oIE = _IECreate("https://website.com",1,0)


$oInputs = _IETagNameGetCollection($oIE, "a")

MsgBox(0,"", "" & $oInputs)

but the message box is empty

Share this post


Link to post
Share on other sites
Arclite86

I have read it  and it showing an example "Local $oInputs = _IETagNameGetCollection($oIE, "input")"

so i thought i use this "Local $oInputs = _IETagNameGetCollection($oIE, "a")"

because "a" is the name of the ellement  

but it didnt work

I have also looked at the function:_IETagNameGetCollection but i am getting so confused with all these extra functions like: 

MsgBox($MB_SYSTEMMODAL, "Form Input Type", "Form: " & $oInput.form.name & @CRLF & @CRLF & "         Types :" & @CRLF & $sTxt)

I only want to read a ellement, if somebody  would show me how i can read it than I will understand it much better

Share this post


Link to post
Share on other sites
Danp2

The function returns a collection of objects, so I wouldn't expect the MsgBox to show anything.

Suggest that you reexamine the help file, specifically the For...Next section of the example.

  • Like 1

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  

×