Re: java.awt.Robot for popup windows
- From: Andrew Thompson <andrewthommo@xxxxxxxxx>
- Date: Thu, 13 Mar 2008 16:35:27 -0700 (PDT)
On Mar 14, 7:36 am, Alex.From.Ohio.J...@xxxxxxxxx wrote:
I'm trying to use Robot to automate some work.
What work?
..So far it's fine except
sometimes JOptionPane
What JOptionPane? Is this something in code that
is directly controlled by you, or do you just have
a binary?
...produces popup window and Robot doesn't know
about it (as well as of possible new buttons on this window). Is there
way to recognize such dynamically created windows (on focus) and
buttons on them for the Robot?
Failing direct access to the code, one way to
recognise changes in the GUI is to take occasional
screenshots and compare them. There are almost
certainly better ways to approach this if you
also control the code that is the subject of the
screenshot.
--
Andrew T.
PhySci.org
.
- Follow-Ups:
- Re: java.awt.Robot for popup windows
- From: Alex . From . Ohio . Java
- Re: java.awt.Robot for popup windows
- References:
- java.awt.Robot for popup windows
- From: Alex . From . Ohio . Java
- java.awt.Robot for popup windows
- Prev by Date: Re: Graphics2D question.
- Next by Date: Re: java.awt.Robot for popup windows
- Previous by thread: java.awt.Robot for popup windows
- Next by thread: Re: java.awt.Robot for popup windows
- Index(es):