kevin98770 Posted October 7, 2011 Share Posted October 7, 2011 (edited) How would I make a script where the mouse clicks a certain color waits 5 seconds then finds that color again and clicks it again, and if there isn't any of that color press right arrow on the keyboard for 1 second? and then repeat. Edited October 7, 2011 by kevin98770 Link to comment Share on other sites More sharing options...
Ramzes Posted October 8, 2011 Share Posted October 8, 2011 You should look for some functions like:PixelSearchMouseClickSendThey are necessary for you.By the way, what are you programming? Sorry for my bad English but nobody is perfect. [font=arial, helvetica, sans-serif]Ramzes[/font] Link to comment Share on other sites More sharing options...
russell Posted October 9, 2011 Share Posted October 9, 2011 this is a bot muppet hands are so soft :) Link to comment Share on other sites More sharing options...
Chimaera Posted October 9, 2011 Share Posted October 9, 2011 kevin >>> http://www.autoitscript.com/forum/forum-2/announcement-13-forum-rules/ If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
JohnOne Posted October 9, 2011 Share Posted October 9, 2011 (edited) How can you possibly know this is a bot? There is nothing blatantly depicting a bot. here are a couple of ways you can press the arrow for a second, one will probably do. Func _Send() $idelay = Opt("SendKeyDownDelay") Opt("SendKeyDownDelay", 1000) Send("{RIGHT}") Opt("SendKeyDownDelay", $idelay) EndFunc ;==>_Send2 Func _Send() $iTimer = TimerInit() While TimerDiff($iTimer) < 1000 Send("{RIGHT}") WEnd EndFunc ;==>_Send2 Edited October 9, 2011 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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