Kalmah Posted April 8, 2019 Posted April 8, 2019 Hey, Quite new with Autoit and trying to work out pixelchecksum I just made a small script just to test how the function worked and did this small code While 1 $pos3 = Pixelchecksum(400,600,410,610) $mus = mousegetpos() ToolTip("specPixel = " & $pos3 & " Coords = " & $mus[0] & "," & $mus[1]) WEnd So i start the script and i get a checksum and it stays the same, then i start moving an object towads that checksum area, And the checksum start to change when im at 625 at the y-axis instead of 610, and comming from the top with the object checksum starts changing at 585, once again 15 pixels away from 600. The same goes for the x coords. It seems that it starts changing 15 pixels from the checksum borders, and i cant figure out why? So it seems my checksumbox is alot bigger then i want it to be, most likely something ive done wrong but im at a loss here.
Bert Posted April 8, 2019 Posted April 8, 2019 (edited) question - what are you automating? I ask for pixel searching is terrible at automation for it can be easily broken. Hooking into controls is MUCH more stable. Odds are we already did a script that will do the job for you. If it is a web based app - you may want to look into this: Edited April 8, 2019 by Bert The Vollatran project My blog: http://www.vollysinterestingshit.com/
Nine Posted April 8, 2019 Posted April 8, 2019 Could you show more of the code, and on which application does it apply so we can test for it ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
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