Jayden Posted November 11, 2016 Share Posted November 11, 2016 Hey Everyone, I am making a AutoReply script thing but when it runs it goes crazy so it doesnt work this is my script: $left = 383 $right = 334 $top = 383 $bottom = 334 $color = 0x09D261 HotKeySet ("{f1}", "MyExit") While (1) WinActivate ("WhatsApp") $pix = PixelSearch($left, $top, $right, $bottom, $color, 1 ) If Not (@error) Then MouseClick("left",$pix[0], $pix[1],1,1) EndIf WEnd func MyExit () Exit EndFunc I hope someone knows why it keeps clicking Link to comment Share on other sites More sharing options...
Jayden Posted November 11, 2016 Author Share Posted November 11, 2016 I see I made a mistakes but that didnt solve it Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 11, 2016 Moderators Share Posted November 11, 2016 This is your third post on your auto reply program using imagesearch. Please (before anyone else responds) explain how this is any different from the other two?? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Jayden Posted November 11, 2016 Author Share Posted November 11, 2016 1 minute ago, JLogan3o13 said: This is your third post on your auto reply program using imagesearch. Please (before anyone else responds) explain how this is any different from the other two?? No the otherone I left behind that was that i wanted to know how to do it in the background this is for myself i want to learn how pixel search works and now there is a problem and i couldnt find the answer to it so i ask is here. 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