Jump to content

Recommended Posts

Posted

So I've tried searching and I've found a few things, but none of them seem to work

When I use the library, it doesn't screenshot the window but rather the whole screen (I supplied the handle).

When I used a MemoryReadPixel function it always returned 00FFFFFF

So basically I want to read a pixel from a background window, and PixelGetColor doesn't seem to work.

Posted

It maybe returning transparent due to the application knowing it's in the background. Some things will change to transparent to save resources.

What are you trying to read there may be a better way then PixelGetColor.

A true renaissance man

Posted

I'm trying to read a Java application. I want to know when an event happens so I could automate my work.

I don't think it goes transparent because when I go over it with a smaller window I see everything that same

Posted (edited)

These might work...

_PixelGetColor_CaptureRegion()

_PixelGetColor_GetPixelRaw()

Basically you can use them to search the window you want to search by briefly bringing it to the foreground to capture it to memory then search it in memory. I'll add links in a second when I can find them.

Edit: Add link...

Edited by MrMitchell

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
  • Recently Browsing   0 members

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