mafioso Posted December 25, 2006 Share 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 ? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 25, 2006 Moderators Share 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. Link to comment Share on other sites More sharing options...
mafioso Posted December 25, 2006 Author Share 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) Link to comment Share on other sites More sharing options...
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