Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3429

java.awt.Robot - new programmer, need a little help.

From New Programmer <ryan.morrone@gmail.com>
Newsgroups comp.lang.java.programmer
Subject java.awt.Robot - new programmer, need a little help.
Date 2011-05-01 21:46 -0700
Organization http://groups.google.com
Message-ID <638a98f4-c108-4356-b483-5696963febd8@glegroupsg2000goo.googlegroups.com> (permalink)

Show all headers | View raw


I work in test automation. I would like to develop a small new way to record and playback using java. I'm interested in the java.awt.robot class, and using the createScreenCapture. This captures a rectangle area. There are other apps out there that allow a user to select an area, and capture an image for playback. That being said, I think a better way would be if there was a grid overlaying the app screen you are recording. by clicking within one of the rectangles, the java program could automatically recognize the coordinates of the rectangle within the grid and auto save that image to a defined directory. This eliminates teh step of selecting an area, and provides faster recording. 

Does any have any ideas how i could create/use a grid to pre define coordinates?

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

java.awt.Robot - new programmer, need a little help. New Programmer <ryan.morrone@gmail.com> - 2011-05-01 21:46 -0700
  Re: java.awt.Robot - new programmer, need a little help. "John B. Matthews" <nospam@nospam.invalid> - 2011-05-02 10:12 -0400

csiph-web