TAScott Posted December 12, 2007 Share Posted December 12, 2007 Sleep(2000) MouseMove(616,515) MouseDown("left") MouseUp("left") Sleep(5000) MouseMove(919,665) MouseDown("left") MouseUp("left") sleep(500) MouseMove(890,577) MouseDown("left") MouseUp("left") sleep(10000) $Color = PixelGetColor(850,640) if Hex($Color,6) = 0xDD0000 or 0xFF0000 or 0xEE0000 or 0xCC0000 or 0xBB0000 or 0xAA0000 Then ; do MouseMove(619,361)MouseDown("left")MouseUp("left")MouseMove(644,308)MouseDown("left")MouseUp("left")Sleep(10000) EndIf I want that If then statement to keep on repeating until.......... if Hex($Color,6) = 0x181818,,,, That happens ??, how do i do that? Link to comment Share on other sites More sharing options...
Nahuel Posted December 12, 2007 Share Posted December 12, 2007 Look in help file for Do.. Unitl. Or While.. Wend 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