hi guys:<br><br>well i still havent found a solution to this ... since i am using ubuntu 7.10, i cannot use the hammond modules ...<br><br>-Ajay<br><br><div><span class="gmail_quote">On 11/4/07, <b class="gmail_sendername">
Ajay Deshpande</b> <<a href="mailto:garlictrompet@gmail.com">garlictrompet@gmail.com</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;">
applications ... i need to retrieve all currently open applications ...<br><br>thx for your help ...<br><span class="sg"><br>-Ajay</span><div><span class="e" id="q_11606db123db03b1_2"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.python.org/mailman/listinfo/python-list
</a><br></blockquote></div><br>
</span></div></blockquote></div><br>