kevin98770 Posted October 7, 2011 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
Ramzes Posted October 8, 2011 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]
Chimaera Posted October 9, 2011 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()
JohnOne Posted October 9, 2011 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.
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