Modify

Opened 14 years ago

Closed 14 years ago

#2200 closed Bug (Works For Me)

_IETagNameGetCollection return nothing

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

Description

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, "http://www.communes.com/rhone-alpes/ain/")
$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])

EndIf

Next

Next

_IEQuit($Fenetre_IE)

Attachments (0)

Change History (1)

comment:1 by trancexx, 14 years ago

Resolution: Works For Me
Status: newclosed

That code is invalid.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.