hey guys , i want some help
how could i search for 2 pixels at the same time i mean like
pixelsearch,foundX,foundY,0,0,a_screenwidth,a_screenheight,(pixel1 and pixel2),,fast
as soon it finds one of the pixels it triggers the rest of the script
pixels related
-
- Posts: 8
- Joined: 19 Jun 2016, 07:09
Re: pixels related
Code: Select all
Loop {
PixelSearch x1, y1, 0, 0, A_ScreenWidth, A_ScreenHeight, 0xFFFFFF, 0, Fast RGB
PixelSearch x2, y2, 0, 0, A_ScreenWidth, A_ScreenHeight, 0x000000, 0, Fast RGB
} Until (x1 != "" || x2 != "")
MsgBox % "rest of the script"
Last edited by swagfag on 15 Aug 2018, 13:06, edited 2 times in total.
-
- Posts: 8
- Joined: 19 Jun 2016, 07:09
Re: pixels related
Thank you
Who is online
Users browsing this forum: Rohwedder and 346 guests