j'ai testé, pour toute index différent de 0 j’obtiens
IE.au3 V2.4-0 Warning from function _IEFrameGetCollection, $_IEStatus_NoMatch
avec l'index a 0, j'obtiens
IE.au3 V2.4-0 Warning from function _IEGetObjByName, $_IEStatus_NoMatch (Name: realTimeStatsForm, Index: 0)
peut importe l'index que je met dans la fonction _IEGetObjByName
j'ai comme l'impression qu'il ne détecte qu'une seul frame
j'ai testé la fonction _IEIsFrameSet en intégrant l'exemple suivant dans mon code
► Afficher le texte
Code : Tout sélectionner
$oFrames = _IEFrameGetCollection ($oIE)
$iNumFrames = @extended
If $iNumFrames > 0 Then
If _IEIsFrameSet ($oIE) Then
MsgBox(0, "Frame Info", "Page contains " & $iNumFrames & " frames in a FrameSet")
Else
MsgBox(0, "Frame Info", "Page contains " & $iNumFrames & " iFrames")
EndIf
Else
MsgBox(0, "Frame Info", "Page contains no frames")
EndIf
J'obtient le message suivant = page contains 1 iFrames
quand je récupère la source de $oIE ou de $oFrames j'ai le même code source