# Can get IE collection working. Why?

## Recommended Posts

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 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 on other sites

Which version of AutoIt3 are you using?

I tried it with beta 3.1.1.132.

##### 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 on other sites

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

## Create an account

Register a new account

• ### Recently Browsing   0 members

×

• Wiki

• Back

• #### Beta

• Git
• FAQ
• Our Picks
×
• Create New...