Dsmoeg999 Posted April 7, 2023 Posted April 7, 2023 Hi guys I am trying to see the color of an inactive or minimized window. I have opened Paint and drawn a circle and colored the inside red. I am using PixelSearch which I understand is for the active window that is to say when it is open it finds the color perfectly but when I minimize it or cover the color it does not see it anymore. Can anyone guide me with any method or way to do this? This is what I have tried $hWnd = WinGetHandle("MSPaintApp") PixelSearch ( 820, 361, 820, 361, 0xEC1C24,1,$hwnd ) If not(@error) Then MsgBox(0,"Information","I can see the color") Else MsgBox(0,"Information","Color not found") EndIf
Nine Posted April 7, 2023 Posted April 7, 2023 Could you show me a picture of the real application you are trying to automate ? I'll see if I got a solution for you then...Thanks. “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
636C65616E Posted April 9, 2023 Posted April 9, 2023 (edited) PixelSearch will search based on what is rendered (basically, what is visible on your screen). A minimized window isn't rendered ... Edited April 9, 2023 by 636C65616E Dsmoeg999 1
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