BluhBlah Posted October 18, 2009 Share Posted October 18, 2009 While 1 ;Main loop Do $color = PixelGetColor(1, 1) ;Waits for (1, 1) to be 0xFF0000 Until $color = OxFF0000 Sleep(300000) ;Sleeps for 300000ms when $color = 0xFF0000 If PixelGetColor(1, 1) = 0xFF0000 Then Send ("X") ;After the sleep it checks to see if (1, 1) is 0xFF0000. If it is it sends X and if it isn't it waits for $color to = 0xFF0000 WEnd test Link to comment Share on other sites More sharing options...
Hawkwing Posted October 18, 2009 Share Posted October 18, 2009 Please do not double post. The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again. Link to comment Share on other sites More sharing options...
herewasplato Posted October 18, 2009 Share Posted October 18, 2009 Please do not double post.There have been so many double posts recently that I'm inclined to think that is it has more to do with the forum's response time (and the OP's impatience) than the intent to make two identical posts. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
BluhBlah Posted October 18, 2009 Author Share Posted October 18, 2009 Yes it was a mistake and..i guess i was impatience 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