wood burning stoves 2.0
The moose likes Java in General and the fly likes Accessing/Controlling Other windows in XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Accessing/Controlling Other windows in XP" Watch "Accessing/Controlling Other windows in XP" New topic

Accessing/Controlling Other windows in XP

Micho Lee

Joined: Oct 21, 2003
Posts: 14
I was wondering if someone could give me some direction in leaning how to access and control other windows using a separate program. For instance, I want to be able to detect when a window taskbar button blinks (saying something happened), open that window, then capture (alt-printscreen) and print a picture of that window into a file. Can someone give me some sample code or direct me to documents that would help me do this? I�m working with Java, so java related help would be most appreciated.
Thanks a bunch in advance!
Tom Angioletti

Joined: Jun 25, 2001
Posts: 10
I don't think Java can do this without accessing native code via JNI.
I agree. Here's the link: http://aspose.com/file-tools
subject: Accessing/Controlling Other windows in XP
It's not a secret anymore!