Jump to content

PixelSearch in a GUI window which state's @SW_MINIMIZE


Tirk
 Share

Recommended Posts

  • Moderators

@Tirk welcome to the forum. PixelSearch is going to use screen coords, so I you're not going to get anything if the window is minimized even if you specify the hWnd. Yet another reason why PixelSearch is unreliable. What are you trying to accomplish with the window? There is doubtless going to be a better way to accomplish it.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators
Just now, Tirk said:

Search pixels in an object (browser).

Brilliant, we got that. But the question is to what end. There are a lot more stable ways of automating the browser without having to resort to pixelsearch, depending on what you're trying to do (click a button, fill in a form, etc.). How about a detailed explanation, help us help you ;)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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

×
×
  • Create New...