qwqwwqwdwd Posted January 24, 2007 Share Posted January 24, 2007 (edited) is there a way not by dectectin pixel but by dectecting the object that look almost the same?and also can i dectect more than 1 pixel?if anyone know please help me out. thx Edited January 24, 2007 by qwqwwqwdwd Link to comment Share on other sites More sharing options...
_Kurt Posted January 24, 2007 Share Posted January 24, 2007 Well, I believe the closest function would be PixelCheckSum(). Look it up in the Helpfile Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
qwqwwqwdwd Posted January 24, 2007 Author Share Posted January 24, 2007 so can u dectect more than 1 pixel? Link to comment Share on other sites More sharing options...
_Kurt Posted January 24, 2007 Share Posted January 24, 2007 PixelCheckSum basically see's if an area on the screen changed, to quote the helpfile:A checksum only allows you to see if "something" has changed in a region - it does not tell you exactly what has changed.Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
_Kurt Posted January 24, 2007 Share Posted January 24, 2007 Short example: ;This will click at 320, 482 if the specified region has changed $checksum = PixelChecksum(352,251,394,291) While $checksum = PixelChecksum(352,251,394,291) Sleep(20) WEnd MouseClick("left", 320, 482) Gotta go, Kurt Awaiting Diablo III.. Link to comment Share on other sites More sharing options...
Helge Posted January 24, 2007 Share Posted January 24, 2007 (edited) I got a tip for you.. What about making a more descriptive topic-title for once ?"Is there a way ?" To do what ? "I need help with a script !" Well, duh...this is a support-forumfor a script-language. "I need a answer !" Again, this is a support-forum. "Help !" Wah...that'sdeep man !so can u dectect more than 1 pixel?Why the need for us to quote the helpfile ? Just hit the helpfile, find the suggested functionand read it's description on the very first line.... "Generates a checksum for a region of pixels."You glow of laziness. Even your nick is probably a result of randomly pressing the keys on yourkeyboard, due to the lack of creativity.edit : fantastic typos Edited January 24, 2007 by Helge Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 24, 2007 Moderators Share Posted January 24, 2007 I got a tip for you.. What about making a more descriptive topic-title for once ?"Is there a way ?" To do what ? "I need help with a script !" Well, duh...this is a support-forumfor a script-language. "I need a answer !" Again, this is a support-forum. "Help !" Wah...that'sdeep man !Why the need for us to quote the helpfile ? Just hit the helpfile, find the suggested functionand read it's description on the very first line.... "Generates a checksum for a region of pixels."You glow of laziness. Even your nick is probably a result of randomly pressing the keys on yourkeyboard, due to the lack of creativity.edit : fantastic typos Classic 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...
herewasplato Posted January 24, 2007 Share Posted January 24, 2007 @OP,According to http://en.wikipedia.org/wiki/NewbieSometimes newbies are recognized as the most important members and received with extra attention.Well, you got some extra attention alright.http://www.newbie.org/ [size="1"][font="Arial"].[u].[/u][/font][/size] 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