using pixel search to find a colour in the xy region is great, but can we get an option to output a variable of where the colour was found?
for example being able to PixelSearch an area for a specific colour, then MouseMove or MouseClick to that xy location would be fantastic!
[Mod edit: Topic moved from Wishlist.]
PixelSearch feature request
-
- Posts: 2
- Joined: 04 Dec 2021, 12:37
Re: PixelSearch feature request
PixelSearch
PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID , Variation, Mode
PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID , Variation, Mode
When a color is found mousemove etc to the OutputVarX, OutputVarY position.Parameters
OutputVarX, OutputVarY
The names of the variables in which to store the X and Y coordinates of the first pixel that matches ColorID (if no match is found, the variables are made blank). Coordinates are relative to the active window unless CoordMode was used to change that.
Either or both of these parameters may be left blank, in which case ErrorLevel (see below) can be used to determine whether a match was found.
-
- Posts: 2
- Joined: 04 Dec 2021, 12:37
Re: PixelSearch feature request
it's literally the first parameter.
how did i miss that! lol
how did i miss that! lol
Who is online
Users browsing this forum: Joey5 and 316 guests