I have one single link pinned down in the last part of the program and I cannot figure out how to get access to it. Can someone help?
; This section works just fine and finds 201 links
; **************************************************
Local $oLinks = _IELinkGetCollection($oIE)
Local $iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found"); Says links found 201
; This section works just fine and finds 1 link
; ***********************************************
Local $oDiv = _IEGetObjById($oLinks, "an1")
Local $iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found") ; Says 1 link found
; Need to know how to address the one link I have found..
; Tried all the stuff below but nothing works.
;ConsoleWrite($oDiv.$oLinks.href)
;ConsoleWrite($oLinks.$oDiv.href)
;ConsoleWrite($oDiv.href)
Just for info... the id=an1 above is the location that has the one single link that I need to be able to access... the other 200 have been eliminated.
If anyone wonders or even cares why the code is not in the code box, it no longer allows me to use the code box... anyone know what the problem is.. maybe when I reboot it will be ok for future posts.
Thanks for any suggestions.
; This section works just fine and finds 201 links
; **************************************************
Local $oLinks = _IELinkGetCollection($oIE)
Local $iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found"); Says links found 201
; This section works just fine and finds 1 link
; ***********************************************
Local $oDiv = _IEGetObjById($oLinks, "an1")
Local $iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found") ; Says 1 link found
; Need to know how to address the one link I have found..
; Tried all the stuff below but nothing works.
;ConsoleWrite($oDiv.$oLinks.href)
;ConsoleWrite($oLinks.$oDiv.href)
;ConsoleWrite($oDiv.href)
Just for info... the id=an1 above is the location that has the one single link that I need to be able to access... the other 200 have been eliminated.
If anyone wonders or even cares why the code is not in the code box, it no longer allows me to use the code box... anyone know what the problem is.. maybe when I reboot it will be ok for future posts.
Thanks for any suggestions.