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

Oh - sorry, I misread that you were on Windows. For Unix, there is X11::GuiTest and I think you can adapt Win32::GuiRobot to do the "screen decoding" on Unix quite easily.

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

Replies are listed 'Best First'.
Re^4: Read the contents of a java application window in unix..
by peter.arun (Initiate) on Oct 08, 2007 at 09:28 UTC
    Hi, I am unable to install Win32::GUIRobot on windows. and can u please tell me how can i do the screen decoding on 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.

        Hi Corion, Thanks for the advice.. I will follow the instructions and see how it works. Regards Peter
        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.