🔒 Closed Can someone help me to this code

Status
Not open for further replies.

myelbux001

Fanatic
~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
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 0
    Replies
  • 341
    Views
  • 1
    Participants
Last reply from:
myelbux001

Trending Topics

Online now

Members online
1,156
Guests online
5,673
Total visitors
6,829

Forum statistics

Threads
2,354,500
Posts
29,383,900
Members
1,079,468
Latest member
bgzin99
Back
Top