Sign in to follow this  
Followers 0
NonPoint22

Help With Search For Text

2 posts in this topic

#1 ·  Posted (edited)

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

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  
Followers 0