Getting name of control under mouse in Windows?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Sun Nov 18 11:32:54 EST 2007
En Fri, 16 Nov 2007 16:16:25 -0300, Shane Clark <shanesclark at hotmail.com>
escribi�:
> 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.
pywinauto does that.
--
Gabriel Genellina
More information about the Python-list
mailing list