applications ... i need to retrieve all currently open applications ...<br><br>thx for your help ...<br><br>-Ajay<br><br><div><span class="gmail_quote">On 10/31/07, <b class="gmail_sendername">Gabriel Genellina</b> <<a href="mailto:gagsl-py2@yahoo.com.ar">
gagsl-py2@yahoo.com.ar</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">En Tue, 30 Oct 2007 06:20:10 -0300, Ajay Deshpande
<br><<a href="mailto:garlictrompet@gmail.com">garlictrompet@gmail.com</a>> escribió:<br><br>> I need to retrieve all currently open applications using a python<br>> program.<br>> So my output should be a list of window handles. Is there a module which
<br>> I<br>> can use?<br><br>"applications" or "windows"? You can use the EnumWindows function, from<br>the Windows API, to enumerate all  top level windows. See this article<br> from the Microsoft Knowledge Base <
<a href="http://support.microsoft.com/kb/183009">http://support.microsoft.com/kb/183009</a>><br>(the example is in VB but I hope you get the idea)<br><br>Install the pywin32 extensions from Mark Hammond<br><a href="http://pywin32.sourceforge.net">
http://pywin32.sourceforge.net</a> and you'll have the EnumWindows function<br>available.<br><br>--<br>Gabriel Genellina<br><br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list
</a><br></blockquote></div><br>