Jump to content

detecting pixel a colour in 2 boxes


Recommended Posts

can anyone helpme with few codes? wondering if the following is possible

so.. u set range of 2 small boxes (like top left to bottom right)

and first box called box1 and second box2

if there is more colour of X in box 1 then button press a

if there is more colour of X in box 2 then button press b

so.. it is not about whehter there is a certain colour to be detected...

but a comparison b/w 2 boxes and press button when a box has more of that colour than another box.

and also...

if color Y (in box3 which will be biggest and including box1 and 2) is detected left of to the box1or2 whichever has more of colourX

then press button c. If detected right of the box1or2 whichever has more colourX then press button d.

I am really learning a lot from answers you guys have given me from previous questions...

again this time... i ask kindly to help me...

and please explain to me important lines so i can modify and learn...

It seems a lot.. but i thank you in advance...^^

Link to comment
Share on other sites

  • Developers

It seems a lot.. but i thank you in advance...^^

Correct, so show us what you have done so far yourself.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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