Jump to content

Pixelsearch Multicolor Problem

Recommended Posts


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 )

But they doset work.
Can anybody help me?
Link to comment
Share on other sites

  • Moderators

@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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...