[python-win32] Finding the selected file in Windows Explorer

Daniel Gonçalves daniel.goncalves at inesc-id.pt
Tue Apr 22 10:50:41 CEST 2008


Hi!

I need to find the selected file(s) in a Windows Explorer window from
another program (I'd look at the window that last had focus). I found
something in the following page that should do the trick:

http://blogs.msdn.com/oldnewthing/archive/2004/07/20/188696.aspx

However, it is not Python and, while I'm a competent Python
programmer, Win32, COM and the like are somewhat outside my
competences.

Does any one know how to do something similar in Python (maybe in a more 
Pythonic way?)


Tks!
Daniel Gonçalves


More information about the python-win32 mailing list