Jump to content

Need Help with PIXELSEARCH


Recommended Posts

Well..

i dont know how i can explain this..

i want to make a prog which clicks on colors etc...

but 1. could you gimme an example of pixelsearch+click?

2. what prog do i have to use to get the color code?

~Thanks =)

-lordlol

Link to comment
Share on other sites

no1 can help me?

Try waiting more than an hour and a half.

While 1
   $pos = MouseGetPos()
   $search = PixelSearch ($pos[0]-100, $pos [1]-100, $pos[0]+100, $pos [1]+100, 0x000000)
   If Isarray($search) then Mouseclick("Left", $search[0], $search[1], 0)
WEnd

Searches a 100pxl area around the mouse and clicks on black pixels.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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