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


Groups > comp.lang.python > #43907

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

From "iMath" <2281570025@qq.com>
Subject python : how to Opens folder with specified items selected on Windows
Date 2013-04-19 23:54 +0800
Newsgroups comp.lang.python
Message-ID <mailman.825.1366386895.3114.python-list@python.org> (permalink)

Show all headers | View raw


[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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web