On 19/04/2013 16:54, iMath wrote: > 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
Have a look over here: http://mail.python.org/pipermail/python-win32/2012-September/012533.html TJG -- http://mail.python.org/mailman/listinfo/python-list