If it's a regular status bar, you can watch it through MSAA. Otherwise, OnChildClipRendered will do the trick.

Steve





On 12/24/2009 12:10 AM, J.J. Meddaugh wrote:
Would I use a specific statusbar event to do this or would I find the control for the status and go that way?
I'll look at the Miranda scripts as well.
J.J. Meddaugh - ATGuys.com
A premier Licensed Code Factory and KNFB Reader distributor

    ----- Original Message -----
    *From:* Stephen Clower <mailto:[email protected]>
    *To:* [email protected] <mailto:[email protected]>
    *Sent:* Wednesday, December 23, 2009 11:37 PM
    *Subject:* Re: Best way to Track a Scrolling Window

    Your best bet would probably be to watch the status bar for
    changes. I believe Windows Messenger puts the word "received" in
    there somewhere when a new message comes in or out. if so, it's
    possible to grab the text from the message window, parse out the
    most recent text, and speak it. The Miranda IM scripts take this
    approach, and with a few tweaks here and there, you could probably
    get them to work with Windows Messenger.

    Regards,
    Steve



    On 12/23/2009 10:26 PM, J.J. Meddaugh wrote:
    Hello. I want to write a quick script for those of us who still
    use the ancient Windows Messenger and refuse to update, namely to
    read text as it is displayed.
    What would be the best way to do this? I was looking over all
    sorts of MSAA events but don't think MSAA is used much here. I
    could watch for OnClipRendered in that window and then compare
    the text for the read-only edit control vs. the old text and
    speak the difference.
    Is there a better way, or might this be the way to go?
    Thanks much.
    J.J. Meddaugh - ATGuys.com
    A premier Licensed Code Factory and KNFB Reader distributor


Reply via email to