Jump to content

brouwse to links


 Share

Recommended Posts

Hello!

i am trying to open a document get it links and navigate to them but no success can someone help

#include <IE.au3>

#include <String.au3>

#include <Array.au3>

$oIE = _IECreate ( "http://www.google.com" )

$oLinks = _IELinkGetCollection ( $oIE )

$iNumLinks = @extended

For $oLink in $oLinks

ConsoleWrite($oLink.href & @CRLF)

Next

For $oLink in $oLinks

ConsoleWrite($oLink.href & @CRLF)

_IENavigate($oIE, $oLink ,1)

Next

i get this error and no navigate

F:\work\gezer\4.au3 (23) : ==> The requested action with this object has failed.:

ConsoleWrite($oLink.href & @CRLF)

ConsoleWrite($oLink.href ^ ERROR

thanks

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...