<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hi,<BR>
 <BR>
I am trying to get my python app to output the name of the control under the mouse each time it is clicked. Currently, I am trying to do this with a combination of pyhook and pyAA, but pyAA gives me "pyAA.Error: -2147417843" for almost any control in Microsoft Office apps, for example. If it matters, I am trying to retrieve the control's name based on the mouse position coordinates.<BR>
 <BR>
Any ideas what is going wrong here? I looked into switching to comtypes briefly, but it is still undocumented and I cannot find useful examples for it thus far. I apologize if this was the wrong place to ask for help, but I did not find a more pertinent mailing list.<BR>
 <BR>
Thanks,<BR>
-Shane<BR><br /><hr />Climb to the top of the charts!  Play Star Shuffle:  the word scramble challenge with star power. <a href='http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct' target='_new'>Play Now!</a></body>
</html>