Jump to content
Sign in to follow this  
lordlol

Need Help with PIXELSEARCH

Recommended Posts

lordlol

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

Share this post


Link to post
Share on other sites
lordlol

no1 can help me?

Share this post


Link to post
Share on other sites
Toady

Look in my signature below, you will find PixelTrigger...

This will do what you want. Really good example.

Edited by Toady

www.itoady.com

A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding

Share this post


Link to post
Share on other sites
Paulie

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.

Share this post


Link to post
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
Sign in to follow this  

×