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

As you don't tell me any details on how the installation of Win32::GUIRobot fails for you, I cannot help you. Win32::GUIRobot needs Prima to be installed, but I can't help you with that.

For decoding the screen on Unix, I would take the code of Win32::GUIRobot, and rewrite the parts that get a screen image to work with X11 instead of using Prima.

  • Comment on Re^5: Read the contents of a java application window in unix..

Replies are listed 'Best First'.
Re^6: Read the contents of a java application window in unix..
by peter.arun (Initiate) on Oct 08, 2007 at 13:06 UTC
    Hi Corion, Thanks for the advice.. I will follow the instructions and see how it works. Regards Peter
Re^6: Read the contents of a java application window in unix..
by peter.arun (Initiate) on Oct 15, 2007 at 11:56 UTC
    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.

      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.