Sign in to follow this  
Followers 0
hukilai

Can get IE collection working. Why?

5 posts in this topic

I am trying the following example from the help:

#include <IE.au3>
$oIE = _IE_Example ("basic")
$oLinks = _IELinkGetCollection ($oIE)
$iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found")
For $oLink In $oLinks
    MsgBox(0, "Link Info", $oLink.href)
Next

A box correctly pops up informing me that there are 3 links on the page. However the boxes from the For loop (with links) are never displayed, and it looks like that the loop is not executed once.

Share this post


Link to post
Share on other sites



I am trying the following example from the help:

#include <IE.au3>
$oIE = _IE_Example ("basic")
$oLinks = _IELinkGetCollection ($oIE)
$iNumLinks = @extended
MsgBox(0, "Link Info", $iNumLinks & " links found")
For $oLink In $oLinks
    MsgBox(0, "Link Info", $oLink.href)
Next

A box correctly pops up informing me that there are 3 links on the page. However the boxes from the For loop (with links) are never displayed, and it looks like that the loop is not executed once.

This works fine for me, I get 4 msgboxes total.

Share this post


Link to post
Share on other sites

big_daddy,

Which version of AutoIt3 are you using?

I tried it with beta 3.1.1.132.

Share this post


Link to post
Share on other sites

Make sure you are using Beta by using the toggle function located in C:\Program Files\AutoIt3\beta\Extras

I had a similiar problem after I downloaded Beta but I was not actually using Beta until I toggled it on.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Ah, I see now.

I did not install my version (I have no admin rights on my office PC), just extracted the .zip archive to my hard drive. So I have all my stuf in C:\Apps\Mine\Software\autoit-3.1.1.132 folder and run AutoIt from there. So far I did not have any problems, but I never tried to work with IE before.

What is the good way to cofigure AutoIt without running a setup program?

Edited by hukilai

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