Jump to content

Recommended Posts

Posted (edited)

lets say i want the mouse to do a command when the screen has a certain color,

i.e) when 09j029 is on screen, then click on it and sleep

how do i do the full script? and is it also to make it click only in certain region?

**edit., how would i instead of making it click on the color, make it find color and click a bit lower then it

Edited by lilandywandy
Posted

Errr... since when are colors stored in base 19? There is no "j" in hex, which I think is what your example "color" is supposed to be.

Posted

ok.. here we go.

$color = pixelgetcolor(whatever,whatever)

if $color = the decimal value of the color then
mouseclick("left",a little lower than the color coordinates, ,amount of times,speed)
endif

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Posted

errr what i ment was if i could make the computer search for like say red..

if the computer can find red and click right under it; theres red on the screen but they move(not in definit spot)

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
×
×
  • Create New...