FindWindow

From: shevek (shevek_at_gmx.at)
Date: 03/10/05


Date: Thu, 10 Mar 2005 13:58:58 GMT

Hi all,

I need to make a screenshot of a window to find out, if it show a
specific image, I found that I can use the Robot class for that, but
if I don't want to capture the whole screen I need to have the
coordinates of the window I want to capture.

As the window I want to capture is a native window, I need a way to
enumerate all windows on the desktop, find the correct window, (bring
it to the foreground), and capture the screen.

The problem is that I didn't find a way to enumerate the windows on
the screen. Is there something in the AWT or Swing classes?

Regards,
Raymund



Relevant Pages

  • Re: web page screen capture utility?
    ... capture of a web page? ... You can use 'import' to grab a shot of a particular window given its ... then do a firefox -remote URL command to load the page i want ... Unless the screenshot is critical, ...
    (comp.os.linux.misc)
  • RE: Capture image of App#As window from App#B
    ... Alt-PrtScr keypress event. ... To find the window of a particular application, this link will help, ... To capture the screenshot of the whole screen or a particular are, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Will Apple EVER fix Window resizing?????
    ... It is not a "fix", ... that is *not* a screenshot of System 7. ... and the middle button has been "Zoom" since at least then. ... your window to take up the entire screen, ...
    (comp.sys.mac.advocacy)
  • Re: Firefox 3 RC1
    ... It doesn't look exactly like a Mac app. ... I just remember it being a royal pain to spot the frontmost window ... See the resize widget? ... I see no link to a screenshot. ...
    (uk.comp.sys.mac)
  • Re: print screen but only the top open "window"
    ... Pressing +copies only the active Window to ... the clipboard. ... paste the contents of the clipboard (your screenshot) into the open ... How to Capture Screen Shots in Windows Using the Print Screen Key ...
    (microsoft.public.windowsxp.general)