Jump to content
Morph

How does PixelSearch Works?

Recommended Posts

Morph

Hi everyone,  I'm newer with auto lt3 and i have been searching how to solve my problem but maybe i don't get it yet

So, let me explain my problem.

I have a GUI and i would like to send a comand space when a specific color of pixel show up inside that rectangule

I write this code , but when i start the script it doesn't work , could someone help? What i'm doing wrong

$coord = PixelSearch( 561 , 254, 888, 382 , 0xFFCC19, 5)
            If IsArray($coord) Then Send("{SPACE}")

BOT.png

Share this post


Link to post
Share on other sites
Jos

@Morph,

It seems you have missed the forum rules on your way in as please read them now as this seems to be game related.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


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

×