Jump to content
Sign in to follow this  
Eumelchen

Pixelsearch Multicolor Problem

Recommended Posts

Eumelchen

Hello

I search now one hour for asolution but found nothing on google or youtube.

I want to make a little solfer. they must find two colors in a box.

Here a exemple: 8c75b83dc666575b6b86e6f1b950d3ef.png

 

I want to make a script where search the two Colors in this box and whrite then the Number (in this exemple "1")

My code (For test i make just a mousmove)

$findpixeNummer1 = PixelSearch(986, 308,1018, 359,"0xB64F8F")
$findpixeNummer1 = PixelSearch(986, 308,1018, 359,"0xC0A0AE")

if IsArray($findpixeNummer1) = True Then
MouseMove ($findpixeNummer1 [0], $findpixeNummer1 [1], 1 )

EndIf
 
But they doset work.
 
Can anybody help me?
 
 

Share this post


Link to post
Share on other sites
Eumelchen

@JLogan3o13 yes this is correct. Its for a privat project

Share this post


Link to post
Share on other sites
JLogan3o13

@Eumelchen I feared as much. You seem to have walked right past the rules on your way into the forum. Please read them now, and you will see why this topic is locked. You will not receive any help on this subject. Hope to see you with a legitimate question in the future.


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×