GodForsakenSoul Posted February 16, 2008 Posted February 16, 2008 (edited) While 1=1 Dim $ClickHere = 2305634675 if PixelChecksum (470,180,521,194) = $ClickHere Then MouseMove (495,187) MouseClick ("left") Sleep (5000) EndIf WEnd i made this. if i remove the while 1=1, it works. if i put it back up, it doesn't. i mean, it starts, doesn't show any errors, but when the actual click me button appears, it does nothing. i want this to loop forever, or at least until i stop it. what's wrong and how do i fix? Edited February 16, 2008 by GodForsakenSoul
rasim Posted February 16, 2008 Posted February 16, 2008 Hi! Don`t need make While 1=1. Example:Dim $ClickHere = 2305634675 While 1 If PixelChecksum(470, 180, 521, 194) = $ClickHere Then MouseMove (495,187) MouseClick ("left") EndIf Sleep (5000) WEnd
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