Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Find image - DO based on what image found
#7
So its like this,

I'm trying to find a blue chat dialogue with a specific text which will everytime appear at different position on the screen everytime it shows.
And setting allowed color difference to 50, 100, or 150 doesnt work no matter value.

I have to mention it works the first time as I set the image capture and run but then the second time when the chat dialogue shows and is now on a different position, it doesnt find it. (same image on screen can be seen but just different position)

My Code:
int w1=act(win("BlueStacks" "HwndWrapper[Bluestacks.exe;*"))
int i=scan("image:hBE274FE7" w1 0 0)
sel i
case 0: mac "Message 1"
case 1: mac "Message 2"


Messages In This Thread
RE: Find image - DO based on what image found - by Leeroll - 06-12-2018, 11:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)