Jump to content
Sign in to follow this  
uda

brouwse to links

Recommended Posts

uda

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

Share this post


Link to post
Share on other sites
uda

i get it also if i erease the consol print

this is without the consolwrite

$o_object.navigate($s_Url)

$o_object.navigate($s_Url)^ ERROR

Share this post


Link to post
Share on other sites
dani

I have never used the IE.au3 UDF, but other have so there surely are people who can help you. Just helping you bump this one a bit :mellow:

Btw please use [autoit ] [/ autoit] tags around code.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.