lilandywandy Posted January 23, 2005 Posted January 23, 2005 (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 January 23, 2005 by lilandywandy
Valik Posted January 23, 2005 Posted January 23, 2005 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.
t0ddie Posted January 23, 2005 Posted January 23, 2005 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.
lilandywandy Posted January 23, 2005 Author Posted January 23, 2005 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)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now