windowshopr Posted August 2, 2008 Share Posted August 2, 2008 Is it possible to turn a coordinate set to a variable? For example: $checksum1 = PixelGetChecksum (2, 5, 7, 9) $Var1 = ??coordinates found at the changed checksum Sleep (1000) If $checksum1 <> PixelGetChecksum (2, 5, 7, 9) Then ??Get coordinates of the changed checksum?? MouseClick ("left" $Var1) If this is at all possible or someone knows of something that could work please let me know. Thanks Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 2, 2008 Share Posted August 2, 2008 To begin with there is no PixelGetChecksum() as far as I am aware, but I will assume that you meant PixelChecksum() which will mean that the answer is no.PixelChecksum() only returns a checksum and can't be used for much more than checking IF the area have changed.If you need exact coordinates then you would need to loop PixelGetColor() to get all colors on the screen and then compare that with the next loop of PixelGetColor(). HERE is an example which may help you. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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