What's new

Can someone help me to this code

myelbux001

Honorary Poster
Joined
Nov 21, 2019
Posts
310
Reaction
109
Points
136
~1::

img160 = map2.bmp
ImageSearch, foundX, foundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, *1 %img160%
if(ErrorLevel == 0)
{
MouseMove, %foundX%, %foundY%
Sleep, 100
Click
Sleep, 100
Click
}
else
{
MsgBox, cant find
}
return

this code is working on my main pc...
but when i transfer it to vmware machine not working the image not found
 
Back
Top