I'm using the great IE UDF but i'm not sure if _IEAttach is the better solution to loop until a substring exists in html.
so i'm asking if the is better idea that my loop?
Here is my code
#include <IE.au3>
While 1
Sleep(1000)
if StringInStr(WinGetTitle("[ACTIVE]"),"sport") Then
$oIE = _IEAttach("<span class="titre_ref2">", "html")
If @error = $_IEStatus_NoMatch Then ExitLoop
myfunction($oIE)
EndIf
WEnd
Thanks