Variability when Image Searching
Variability when Image Searching
Hello. What do I add to an image detect code to create a variability for the detected image? I am trying to fix my music stream from stopping playing for whatever reason it is always crashing, and I wrote a script to get it to press play if it detects that it stopped playing. However the image detection wont work because the area im image detecting has slight changes in colors and the pixels shift slightly or something because the image detect wont work on it. Hoping to add a range of possible acceptable images so its a little more lenient. Thanks for Your time.
Re: Variability when Image Searching
Thanks for the link. Ok for Me it can be hard to learn without a proper example showing exactly what to do but I got it . Between *1 to *255 and You put it just before the name of the file with a space before . Thanks again
Re: Variability when Image Searching
Here is an example for anyone skimming forums for this answer
Code: Select all
ImageSearch,ix,iy,0,0,a_screenHeight,a_screenWidth, *165 C:\Users\clayt\Desktop\Jpegs\TestWaterBarrelRightClicked.png