dassksnz Posted April 9, 2011 Posted April 9, 2011 when i look at peoples scripts i sometimes see a whole lot of numbers like If PixelCheckSum(,,,,) = then 9 numbers what are these?
bwochinski Posted April 9, 2011 Posted April 9, 2011 (edited) The numbers following that expression would be a previously generated checksum for an arrangement of pixels that the script is apparently looking for.Basically, it's a way to determine if a specific arrangement of pixels (or a specific image) is in a certain location on the screen. Edited April 9, 2011 by bwochinski
dassksnz Posted April 9, 2011 Author Posted April 9, 2011 So how would i figure out what im looking for in numbers?
bwochinski Posted April 9, 2011 Posted April 9, 2011 Make sure you understand the usage of PixelCheckSum(), and then something as simple as the below will give you a value easily:Sleep(2000) ConsoleWrite(PixelCheckSum(left, top, right, bottom))Sleep is in there first to give you a chance to minimize the script editor to capture whatever is behind it.
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