>From what I understand, you'd probably need to find the listctrl in the 
>explorer window by using EnumChildWindows. From there there's probably a way 
>to get the selected items.

I'm no expert, but that might get you started in the right direction until 
someone can provide a better response.

-Kyle Rickey

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Gonçalves
Sent: Tuesday, April 22, 2008 3:51 AM
To: python-win32@python.org
Subject: [python-win32] Finding the selected file in Windows Explorer

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
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to