Hii, Can help me make this code work?
I'm trying to find one image in a certain range, but I can't get it to detect it
I use this code to capture the position
Ok here all ok the position of the imagen Ok is save in Sx,Sy
using this another code i move the mouse in the specific range whats i want
here one pict of the example
[Only registered and activated users can see links. Click Here To Register...]
the black box is the area that is supposed to detect, since the mouse moves just to the upper right corner
now i want in this range detect the icon of the star using imageSearchArea
here is the problem... i not found the imagen :S whats is wrong?
using this i can capture the image
but I need to detect this range, since this window is open several times, and I need to detect "the star" in the specific window of the "Ok" event
I'm trying to find one image in a certain range, but I can't get it to detect it
I use this code to capture the position
Code:
_ImageSearch('Res/Ok1.png',1,$Sx,$Sy,10)
using this another code i move the mouse in the specific range whats i want
Code:
MouseClick("left",$Sx+60,$Sy-164)
[Only registered and activated users can see links. Click Here To Register...]
the black box is the area that is supposed to detect, since the mouse moves just to the upper right corner
now i want in this range detect the icon of the star using imageSearchArea
Code:
_ImageSearchArea('Res/Star.png',1,$Sx,$Sy,$Sx+60,$Sy-164,$x,$y,10)
using this i can capture the image
Code:
_ImageSearch('Res/Star.png',1,$x,$y,10)
but I need to detect this range, since this window is open several times, and I need to detect "the star" in the specific window of the "Ok" event