Jump to content

PixelGetColor Help


AshleyS
 Share

Recommended Posts

Hello,

I have a script running using ControlSend and ControlClick, however the window it is using does not have any Control IDs, so it is using the title of the window - which is working fine.

The problem I have is trying to get the colour of the pixels using the coords of the window when it is not focused. I thought about not having the window minimized at all, and just moving the window 5000 x-pixels to the left, i.e. The window being at -5000, 0. The ControlSend and ControlClick still work accordingly, but now the PixelGetColor always returns 0xFFFFFF because it is not in the monitor region - which I have already read happens in another post.

Is there a way around this?

Many thanks,

AshleyS.

Edited by AshleyS
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...