danzar Posted December 21, 2006 Share Posted December 21, 2006 Hi i am new here but love the program. My wheels have been turning sinse i found it. I am writing a scipt for a macro for a game and i want to for it to seach out a color on the screen but i cant get the macro to find it unless i move the mouse myself then when i mouse over it it finds it. Is this how this function is suppost to work or? If it is how its suppose to work what another way for me to code to not have to. thanks danzar CODE $mob = PixelSearch(0,0,800,600,0x4B0608,1,1) if not @error Then MouseClick("left", $mob[0],$mob[1],2) Link to comment Share on other sites More sharing options...
FreeFry Posted December 21, 2006 Share Posted December 21, 2006 (edited) My wheels have been turning sinse i found it.LoLYou have given us really little information to work with, specify more if you need help. Btw. that's one huge area your are pixel searching, try to reduce the area you are pixel searching :|I usually search pixel around the mouse, because that is really fast and effective, I don't know if it would be useful in whatever you are trying to do though.. :/And no, PixelSearch() does search for the pixel that is already on your screen. Edited December 21, 2006 by FreeFry 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