dryan Posted July 3, 2007 Posted July 3, 2007 Is there an easy way to undo WinActivate? I need to grab a pixel color from a specific window and then restore it to the way it was. Alternatively, is there a way to grab a pixel from a window or control that isn't necessarily visible on the screen? I'm thinking something like ControlSend or ControlCommand that can grab a pixel color using coordinates relative to a control. (I know how to set PixelCoordMode and use PixelGetColor but as far as I know, these only work on visible windows.) Thanks!
Ozi Posted July 3, 2007 Posted July 3, 2007 Is there an easy way to undo WinActivate?I need to grab a pixel color from a specific window and then restore it to the way it was.Alternatively, is there a way to grab a pixel from a window or control that isn't necessarily visible on the screen? I'm thinking something like ControlSend or ControlCommand that can grab a pixel color using coordinates relative to a control. (I know how to set PixelCoordMode and use PixelGetColor but as far as I know, these only work on visible windows.)Thanks!Just get the control ID so you won't have to use coordinates.
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