in reply to Re^5: Read the contents of a java application window in unix..
in thread Read the contents of a java application window in unix..

Hi Corion, I tried to follow your advice, but I could not install Prima in my system (i.e UNIX). Do you know what are all the dependencies for installing Prima? Also, the part of the code in Win32::GuiRobot that grabs a screen image references to functions in Prima module...so I am not able to use the code in Win32::GuiRobot for grabbing the screen. Can you help with this problem? Thanks in advance and awaiting your reply, Peter Arun.
  • Comment on Re^6: Read the contents of a java application window in unix..

Replies are listed 'Best First'.
Re^7: Read the contents of a java application window in unix..
by Corion (Patriarch) on Oct 15, 2007 at 12:21 UTC

    I already told you:

    ... Rewrite the parts that get a screen image to work with X11.

    For example, under many Unix systems, there is a program called import, which takes a screenshot. Use that program to get the current screen contents and then work with the other code of Win32::GuiRobot. You will need to remove everything that references Prima and replace it with your own code.