ConorMcCarthy Posted February 18, 2007 Share Posted February 18, 2007 Is it possible to get the pixel colour of a pixel in a window without the window being active and/or the pixel visible on the screen ? Link to comment Share on other sites More sharing options...
BigDod Posted February 18, 2007 Share Posted February 18, 2007 Is it possible to get the pixel colour of a pixel in a window without the window being active and/or the pixel visible on the screen ?If the window is not visible on the screen there is no colour to get. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
ConorMcCarthy Posted February 18, 2007 Author Share Posted February 18, 2007 If the window is not visible on the screen there is no colour to get.If a tree falls in the woods when nobody is around does it make a sound? If Is there any way to get the 'colour information' from wherever it is stored? Link to comment Share on other sites More sharing options...
Valik Posted February 18, 2007 Share Posted February 18, 2007 Using an example from Larry... Can you read page 37 of a book when you're looking at page 10? Link to comment Share on other sites More sharing options...
ConorMcCarthy Posted February 18, 2007 Author Share Posted February 18, 2007 Using an example from Larry... Can you read page 37 of a book when you're looking at page 10?Nope, but I'm not AutoIT.AutoIT can send and receive text etc from hidden windows. Link to comment Share on other sites More sharing options...
Paulie Posted February 18, 2007 Share Posted February 18, 2007 Windows that aren't visible on screen don't have pixels. Link to comment Share on other sites More sharing options...
ConorMcCarthy Posted February 18, 2007 Author Share Posted February 18, 2007 Windows that aren't visible on screen don't have pixels.Ok. Does a window have information stored like it has the text etc stored? Can this info be accessed by autoit?If not can it be got around by creating a virtual workspace where the windows are placed? Link to comment Share on other sites More sharing options...
Paulie Posted February 18, 2007 Share Posted February 18, 2007 Ok. Does a window have information stored like it has the text etc stored? Can this info be accessed by autoit?If not can it be got around by creating a virtual workspace where the windows are placed?Whether the information is stored or not, i don't know, but i have a feeling not.All i know for sure is pixelgetcolor() and PixelSearch() only work on the PIXELS that are visible to you.As to the virtual workspace, yes that would work assuming you could see on your screen the pixels that you are ring to get the color of. Otherwise, no. 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