Autoit pixelsearch to C#

11/22/2019 20:05 Singleplayer™#1
does anyone know how i can get the y and x coordinates using the Au3X lib ?
i can only use "var test = au3.PixelSearch(50,50,500,600, 0x1E1E1E,1);"
but when i try to show this var it only shows weird stuff


#Edit
i finally got it to work, for everyone who have the same problem , here is my solution:
[Only registered and activated users can see links. Click Here To Register...]

#Edit2
the validate part was normaly only to check if the color exists but now i used it as a main part
11/24/2019 11:17 False#2
#moved
04/05/2020 08:41 void_coder#3
Ich würde es mit imageSearch lösen. Die dll gibt es auch bei autoit
12/05/2020 17:41 killzone#4
Quote:
Originally Posted by Singleplayer™ View Post
does anyone know how i can get the y and x coordinates using the Au3X lib ?
i can only use "var test = au3.PixelSearch(50,50,500,600, 0x1E1E1E,1);"
but when i try to show this var it only shows weird stuff


#Edit
i finally got it to work, for everyone who have the same problem , here is my solution:
[Only registered and activated users can see links. Click Here To Register...]

#Edit2
the validate part was normaly only to check if the color exists but now i used it as a main part
my solution was only 2 lines.
Code:
Dim pixSearch As Array
            pixSearch = a.PixelSearch(numBotX.Value, numBotY.Value, numTopX.Value, numTopY.Value, hx & txtHexColor.Text, numShadeVar.Value)