Jump to content

Recommended Posts

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

Edited by mary

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...