Hi,

Thanks for the prompt response. I apologise for not responding sooner. There was a typo in my original mail - I am using WMGetText() method to extract text from the window object and not GetWindowText(). I am not trying to control Internet Explorer (the browser) - for this the "SAMIE" sourcforge project would be most suitable. I have an application that displays lots of messages in a window for operatotrs/users to read and act upon. Using Spy++, I have determined that this display window is of type "Internet Explorer_Server". Unfortunately, the WMGetText() api is not able to extract window text from "Internet Explorer_Server" class.

The closest reference to my current problem (searching google) is this codeguru page http://www.codeguru.com/Cpp/I-N/internet/instantmessaging/article.php/c6225/. The codeguru example talks of retrieving text from a yahoo messenger chat window. In my case, the application is different but the target window class from which I need to extract text is the same.

<aside> I assure you that I dont like spyware/virii any better than you do. I am trying to automate some gui tests and it works ok for regular edit windows - but I have run into a roadblock with this "Internet Explorer_server" class of windows. </aside>


In reply to Re^2: Using Win32::GuiTest with Explorer_Server by Anonymous Monk
in thread Using Win32::GuiTest with Explorer_Server by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.