sumone4life Posted March 20, 2006 Share Posted March 20, 2006 I've been searching through the forums and have no found any concrete answer for this... but is there a function where you can take either a bitmap or load a bitmap as a string and search for it within a given area or just on the screen? Link to comment Share on other sites More sharing options...
Andrew Sparkes Posted March 20, 2006 Share Posted March 20, 2006 You could use a combo of Pixelsearch(), PixelGetColor(), and PixelCheckSum()... Check the helpfile for those functions and try looping through and comparing the checksums of the bmp you want, and the bitmap at the coordinates... ---Sparkes. Link to comment Share on other sites More sharing options...
sumone4life Posted March 20, 2006 Author Share Posted March 20, 2006 (edited) ok... the only problem i see with this is that 1 it seems to be requiring users input which isnt really ideal for the code i wanna make.. and 2 if there are other colored pixels identical or similar to the one you are looking for it seems like it would mess the script up a bit. ps... im pretty new to autoit so bare with me Edited March 20, 2006 by sumone4life Link to comment Share on other sites More sharing options...
Andrew Sparkes Posted March 20, 2006 Share Posted March 20, 2006 Check Larry's post. That has exactly what you're looking for. It will checksum an area, and then find that area again and move the mouse there. I'm sure you can modify his code to suit your needs... Sparkes. ---Sparkes. Link to comment Share on other sites More sharing options...
sumone4life Posted March 20, 2006 Author Share Posted March 20, 2006 (edited) i couldnt get his script to work... i put it over his avatars nose.. pressed the tilda key and then opened the other script and pressed the tilda key and it said it couldnt find it.EDIT: Nevermind... thought i was using the BETA version but apparently i wasnt so it works now.. ill look at it and see if i can use it Thanks Edited March 20, 2006 by sumone4life 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