I want atuoit do a click on an image everytime the image come out.
What i need write for do that ?
Thank you !
What i need write for do that ?
Thank you !
#include <ImageSearch.au3>
$x = 0
$y = 0
$image = "something.bmp" ;I tested only with .bmp & .PNG
$imSea= _ImageSearch($image,1,$x,$y,0) ;First = Image name - Second = 0 for top left coords, 1 for Center coords - Variable name for x coord - Variable name for y coord - tolerance
If $imSea = 1 Then
MouseClick("left",$x,$y,1)
MsgBox (0,"","Found at " & $x & " " & $y)
EndIf
Quote:
Very thank you all for support.
So, i need simpyl put that scritp inside the code of autoit ?
And where i need put he image ? In same folder of autoitscript ?
And that script you post here, will click the image if that image come out scanning the screen every seconds ?
Every how many time the autoit do a scansion of screeen for check if there is the image ?
Can i add a delay of click the image with random milliseconds ?
Thanks
Are you kidding me?Quote:
Nice packed Virus. Virustotal of his .rar archive [Only registered and activated users can see links. Click Here To Register...]