BrAiNee Posted January 14, 2024 Posted January 14, 2024 Hi im using Autoit since 4 Years now i get realy inspired and learned much but there is one thing that never get a fix and iit was not bully me up to this time. The Problem: and the recreation of it: Use the Pixelsearch() function on a spec.Color do a Screenshot with the Print Button of this color, NOW the Pixelseach() goes crazy is alsways True so long you make a new screenshot of a dif.color, it looks like a screenshot buffer bug because if you clear the clip the bug still exist. Trys to fix: I tryed to clear the screenbuffer thing by making a screenshot while the color is NOT present this helps alot but its not a fix for me... any ideas ?
Nine Posted January 14, 2024 Posted January 14, 2024 You will need to provide a replicable snippet of your issue. I have no idea what you are talking about, PixelSearch vs Screenshot ??? “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
junkew Posted January 16, 2024 Posted January 16, 2024 The problem????? The recreation????? Tries to fix????? solution 42???? Probably bitblt can help you in a better way but a script will help in understanding what you say FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
BrAiNee Posted January 16, 2024 Author Posted January 16, 2024 Hi here my Code Snipped: For $i = 0 To UBound($searchSettings) - 1 $p3 = PixelSearch($searchSettings[$i][0], $searchSettings[$i][1], $searchSettings[$i][2], $searchSettings[$i][3], $searchSettings[$i][4], $searchSettings[$i][5], $searchSettings[$i][6]) If IsArray($p3) Then just a normal Pixelsearch Function the Problem is that if you have the Color im Searching or the Pixel in the Screenshotbuffer from WINDOWS the Pixelsearch malfunction, so if you never have this problem maybe im the only one so there is no need to fix in AutoIt but then my Questions is how to clear this Buffer without doing a Screenshot. Is this done by bibit stuff ? Regards BrAiNee
Nine Posted January 16, 2024 Posted January 16, 2024 Are you sure about what you are stating ? Because, if we can reproduce the malfunction, we could be face to a bug. It should not be that hard for you to make a full runable snippet of the code that shows the malfunction. “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
junkew Posted January 16, 2024 Posted January 16, 2024 Your solution can be 42 or bitblt or pixelchecksum or a bug. But if no full reproducer we can only guess what your problem is. The pixelsearch I can understand but what you are stating on screenshotbuffer is unclear. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
BrAiNee Posted January 30, 2024 Author Posted January 30, 2024 Hi, i dont whant to write a whole reproducer and i dont know if i can and if it happends in like an au gui or something like that..my program is fully inetegrated in a fullscreen application and i cant show any of that code here @ForumRules. So i hoped someone have same problem or a solution. 👽
Developers Solution Jos Posted January 30, 2024 Developers Solution Posted January 30, 2024 (edited) This implies that you do stuff against our rules, so Thanks for being so forthcoming and there is where this topic ends and not going to be reopened! Edited January 30, 2024 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts