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