Opened 12 years ago

Closed 12 years ago

#2200 closed Bug (Works For Me)

_IETagNameGetCollection return nothing

Reported by: jeremy.gilruiz@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


The _IETagNameGetCollection function doesn't return elements on x64 editions.

My version of Internet explorer is : 8.0.7601.17514 64-bit édition

#include <IE.au3>

Opt("TrayAutoPause", 0)
Opt("TrayIconDebug", 0)

$Fenetre_IE = _IECreate("about:blank");, 0, 0, 1, 1)

For $Departements In $Departement

_IENavigate($Fenetre_IE, "")
$Contenu_HTML = _IEBodyReadHTML($Fenetre_IE)
$BalisesLI = _IETagNameGetCollection($Fenetre_IE, "li")
For $BaliseLI In $BalisesLI

$Villes = StringRegExp($BaliseLI.innerhtml, '<a href="' & $Departements & '(?:.*?)_(\d{5})/">(.*?)<', 1)
If @error = 0 Then

consolewrite($Villes[0] & @TAB & $Villes[1] & @crlf)
FileWriteLine($DossierEnregistrement & "\Villes de frances.txt", $Villes[0] & @TAB & $Villes[1])





Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by trancexx

  • Resolution set to Works For Me
  • Status changed from new to closed

That code is invalid.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.