mafioso Posted December 25, 2006 Posted December 25, 2006 I want to make some script that will do something like this: - PixelSearch finds some Pixel that is ex. blue - MouseClick is moving and clicking twice on that pixel (instantly) But i don't know where to start with....can someone help me, pls ?
Moderators SmOke_N Posted December 25, 2006 Moderators Posted December 25, 2006 I want to make some script that will do something like this: - PixelSearch finds some Pixel that is ex. blue - MouseClick is moving and clicking twice on that pixel (instantly) But i don't know where to start with....can someone help me, pls ?PixelSearch has an example in the help file on how to do this, I'd suggest looking up MouseClick() and looking for the the parameter [Clicks] and [speed] to see how to do it twice fast. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
mafioso Posted December 25, 2006 Author Posted December 25, 2006 PixelSearch has an example in the help file on how to do this, I'd suggest looking up MouseClick() and looking for the the parameter [Clicks] and [speed] to see how to do it twice fast. tnx, i figured how to do that. But now i need something like this, and I apreciate any help: 1. If color isn't finded, then find another pixel and another color ex. there are two variables; $findpixel=PixelShearch (0,0,@desktopwidth, @desktopheight, 0x20035B) and $findpixel2=PixelShearch (0,0,@desktopwidth, @desktopheight, 0x345789)
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