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"
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"