Jump to content

Undo WinActivate


Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...