NonPoint22 Posted August 29, 2009 Share Posted August 29, 2009 (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 August 29, 2009 by NonPoint22 Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 31, 2009 Share Posted August 31, 2009 Just put the _IEBodyReadHTML line inside the loop. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now