FifteenFifty Posted July 30, 2006 Share Posted July 30, 2006 I got the screenshot, how do i make autoit do something when a thing on the screenshot shows on the screen? like if the object that is on the screenshot comes on the screen in thesame place, autoit clicks it i hopt tou can understand me Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 30, 2006 Moderators Share Posted July 30, 2006 PixelCheckSum()? 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...
FifteenFifty Posted July 30, 2006 Author Share Posted July 30, 2006 but would that just check a pixel? i need it to check a piece of the image like a smiley face for example Link to comment Share on other sites More sharing options...
nfwu Posted July 30, 2006 Share Posted July 30, 2006 1) Use PixelCheckSum to get the checksum of the image. 2) Use PixelSearch to search for the upper-left pixel of the image 3) Iterate though the results, PixelCheckSumming until you ge the same checksum as before 4) Click on that location. #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() 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