By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,957 Members | 2,017 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,957 IT Pros & Developers. It's quick & easy.

"Show this file in explorer"

P: n/a
I have a big problem. I have a list of files that my script find and
list them in a little gui.
I need this function:

when i d-click on each item, I want explorer opens and selects that
item inside windows explorer.
like that beautiful buttom in iTunes.

Thanks in advane.

Farshid Ashouri.
Dec 1 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Although I'm a python fan; for that kind of stuff, I use autohotkey (
http://www.autohotkey.com/download/ )

Best,
Sergio

On Dec 1, 2007 3:30 AM, farsheed <ro*********@gmail.comwrote:
I have a big problem. I have a list of files that my script find and
list them in a little gui.
I need this function:

when i d-click on each item, I want explorer opens and selects that
item inside windows explorer.
like that beautiful buttom in iTunes.

Thanks in advane.

Farshid Ashouri.
--
http://mail.python.org/mailman/listinfo/python-list
Dec 1 '07 #2

P: n/a
farsheed wrote:
I have a big problem. I have a list of files that my script find and
list them in a little gui.
I need this function:

when i d-click on each item, I want explorer opens and selects that
item inside windows explorer.
like that beautiful buttom in iTunes.
Experiment with:

explorer.exe /select,<path-to-file>
TJG
Dec 1 '07 #3

P: n/a
That was great. Thanks so sooooooooooooooooooooooooooooooooo much.
can you tell me where can I find that kind of trips?
Thanks Again.
Dec 1 '07 #4

P: n/a
farsheed wrote:
That was great. Thanks so sooooooooooooooooooooooooooooooooo much.
can you tell me where can I find that kind of trips?
(assuming "kind of tips")

I stuck "explorer command line options" into Google and... Bingo!
(All right, I'm cheating a bit: I knew that explorer *had* command
line options because I've been around a bit).

http://support.microsoft.com/kb/152457

TJG
Dec 1 '07 #5

P: n/a
But now I have a more technical question. when I run this command, I
saw that the windows explorer did not refresh,example: I have two
files in a folder and i use that command to select them from command
line, the first one will be selected, but after running the command
for second file, the second remains unselected. So I need to close the
explorer and run the command again for the second file. this is
different from the way iTunes do it.
Any Idea?
TIA.
Farsheed.
Dec 1 '07 #6

P: n/a
On Dec 1, 2:58 pm, farsheed <rodmena....@gmail.comwrote:
But now I have a more technical question. when I run this command, I
saw that the windows explorer did not refresh,example: I have two
files in a folder and i use that command to select them from command
line, the first one will be selected, but after running the command
for second file, the second remains unselected. So I need to close the
explorer and run the command again for the second file. this is
different from the way iTunes do it.
Any Idea?
TIA.
Farsheed.
I think you want some sort of OLE automation. Perhaps this will
help...

http://farm.tucows.com/blog/_archive...23/189572.html

Regards,
Jordan
Dec 1 '07 #7

P: n/a
You are my hero man, Thanks a lot.
Dec 2 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.