Modify

Opened 13 years ago

Closed 13 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 Changed 13 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

Action
as closed The ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.