space::
Run, %A_Windir%\system32\rundll32.exe shimgvw.dll`,ImageView_Fullscreen %A_scriptDir%\image.bmp
CoordMode,Pixel,Screen
CoordMode,ToolTip,Screen
result:=MultipleImagesearch(115, 150, 1024, 1080, "image.bmp")
Loop,Parse,result,`n
{
If A_LoopField=
Break
StringSplit,Pos,A_LoopField,a
ToolTip,%A_Index%,%Pos1%,%Pos2%,%A_Index% ; 툴팁 원본
}
sleep,7000
MsgBox,End
return
MultipleImagesearch(xs,ys,xl,yl,image)
{
pos=
xss:=xs
yss:=ys
loop
{
Imagesearch, x , yi, %xss%, %yss%, %xl%, %yl%, %image%
If Errorlevel=1
Break
pos=%pos%%x%a%yi%`n
loop
{
xss:=x+1
If xss=%xl%
Break
Imagesearch, x, y, %xss%, %yss%, %xl%, %yl%, %image%
If Errorlevel=1
Break
pos=%pos%%x%a%y%`n
}
xss:=xs
yss:=yi+1
If yss=%yl%
Break
}
Sort,pos,u
return pos
}
return
result:=MultipleImagesearch(115, 150, 1024, 1080, "image.bmp")
result:=MultipleImagesearch(1024, 1080, 115, 150, "image.bmp")
바꿔봐도 잘안되서 어떻게하면
밑에서 부터 찾게할수 있나요?