Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43907 > unrolled thread

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

Started by"iMath" <2281570025@qq.com>
First post2013-04-19 23:54 +0800
Last post2013-04-19 23:54 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  python : how to Opens folder with specified items selected on Windows "iMath" <2281570025@qq.com> - 2013-04-19 23:54 +0800

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

From"iMath" <2281570025@qq.com>
Date2013-04-19 23:54 +0800
Subjectpython : how to Opens folder with specified items selected on Windows
Message-ID<mailman.825.1366386895.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web