[python-win32] inspect32.exe python equivalent?

Tim Roberts timr at probo.com
Thu Nov 17 19:13:40 CET 2005


On Wed, 16 Nov 2005 13:13:40 -0500, mark mclarnon 
<mark.mclarnon at gmail.com> wrote:

>The Microsoft SDK contains an EXE called inspect32.exe which implements an
>active accessibility API interface. Is anyone aware of work in the Python
>community to interface with the ActiveAccessibility API? This program
>inspect32 is wonderful in that it can programmatically invoke actions of the
>GUI items it identifies on screen it is this functionality that I desire. I
>know of some fantastic projects like cPAMIE but they only work for
>particular software titles.
>  
>

Are you new to the mailing list?  This very topic was discussed earlier 
this week.  Here's part of my reply:

>What you need are Windows hooks, which allows you to participate in the 
>window procedures for other processes.  Implementing a hook requires 
>code in a DLL, because the DLL has to actually be "injected" into 
>another process, to run in that processes context.  That would usually 
>make Python unsuitable, but there are people doing research in 
>accessability that have done it:
>
>    http://www.cs.unc.edu/~parente/tech/tr01.shtml
>
>Note particularly the libraries for pyHook and pyAA.
>

Note that the "AA" in "pyAA" stands for "Active Accessibility".

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list