Retrieving all open applications ...

Ajay Deshpande garlictrompet at gmail.com
Wed Nov 7 04:36:49 EST 2007


hi guys:

well i still havent found a solution to this ... since i am using ubuntu
7.10, i cannot use the hammond modules ...

-Ajay

On 11/4/07, Ajay Deshpande <garlictrompet at gmail.com> wrote:
>
> applications ... i need to retrieve all currently open applications ...
>
> thx for your help ...
>
> -Ajay
>
> On 10/31/07, Gabriel Genellina < gagsl-py2 at yahoo.com.ar> wrote:
> >
> > En Tue, 30 Oct 2007 06:20:10 -0300, Ajay Deshpande
> > <garlictrompet at gmail.com> escribió:
> >
> > > I need to retrieve all currently open applications using a python
> > > program.
> > > So my output should be a list of window handles. Is there a module
> > which
> > > I
> > > can use?
> >
> > "applications" or "windows"? You can use the EnumWindows function, from
> > the Windows API, to enumerate all  top level windows. See this article
> > from the Microsoft Knowledge Base <
> > http://support.microsoft.com/kb/183009>
> > (the example is in VB but I hope you get the idea)
> >
> > Install the pywin32 extensions from Mark Hammond
> > http://pywin32.sourceforge.net and you'll have the EnumWindows function
> > available.
> >
> > --
> > Gabriel Genellina
> >
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071107/0ae102c1/attachment.html>


More information about the Python-list mailing list