python : how to Opens folder with specified items selected on Windows

iMath 2281570025 at qq.com
Fri Apr 19 11:54:40 EDT 2013


I want to Opens folder with specified items selected on Windows ,I looked up the The Windows Shell Reference found a function fit for this job 
 
SHOpenFolderAndSelectItems
 
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762232(v=vs.85).aspx
 
but I cannot find an example on how to use it with python 
 
so anyone can give a little example ?
 
I have another extra requirement :if that folder already open ,don’t open it again ,just activate it and selected the file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130419/d490978d/attachment.html>


More information about the Python-list mailing list