Sign in to follow this  
Followers 0

how to get the specified link

3 posts in this topic

#1 ·  Posted

Local $otables = _IETagNameGetCollection($oIE, "table")
For $otablet In $otables
Local $trs = _IETagNameGetCollection($otable, "tr")
For $tr In $trs
Local $oLinks = _IELinkGetCollection($tr)
For $oLink In $oLinks
MsgBox(4096, "test", "Link: " & $l & $oLinks.href)
Next
Next
Next

i want to get specified link from table's column。but my code dosen't work well,it will get all the links from web.

thanks everybody to help me.

Share this post


Link to post
Share on other sites



#2 ·  Posted

Maybe using StringInStr function can help.


[font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font]

Share this post


Link to post
Share on other sites

#3 ·  Posted

thanks eky32

i have solved it.

$temp = _IETagNameGetCollection($tr, "a")

$temp.href can be used

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