Jump to content

Help With Search For Text


Recommended Posts

right now i am using this simple code:

#include <IE.au3>

$Create = _IECreate()
_IENavigate($Create, "http://www.cheapassgamer.com/")
$b = _IEBodyReadHTML($Create)

While 1
    If StringInStr($b, "unread PMs:") Then
        If MsgBox(0, "Success", "You Have New PMs") Then
            _IENavigate($Create, "http://www.cheapassgamer.com/forums/private.php")
            ExitLoop
        Else
            Sleep(5000)
            Send("{F5}")
        EndIf
    EndIf
WEnd

i have a questions

How can i loop it , so at every refresh it checks for that string , right now it does not and i can not figure it out

Edited by NonPoint22
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...