"Show this file in explorer"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • farsheed

    "Show this file in explorer"

    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.
  • Sergio Correia

    #2
    Re: "Show this file in explorer"

    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 <rodmena.com@gm ail.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.
    --

    >

    Comment

    • Tim Golden

      #3
      Re: &quot;Show this file in explorer&quot;

      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

      Comment

      • farsheed

        #4
        Re: &quot;Show this file in explorer&quot;

        That was great. Thanks so soooooooooooooo ooooooooooooooo oooo much.
        can you tell me where can I find that kind of trips?
        Thanks Again.

        Comment

        • Tim Golden

          #5
          Re: &quot;Show this file in explorer&quot;

          farsheed wrote:
          That was great. Thanks so soooooooooooooo ooooooooooooooo oooo 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).



          TJG

          Comment

          • farsheed

            #6
            Re: &quot;Show this file in explorer&quot;

            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.

            Comment

            • MonkeeSage

              #7
              Re: &quot;Show this file in explorer&quot;

              On Dec 1, 2:58 pm, farsheed <rodmena....@gm ail.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...



              Regards,
              Jordan

              Comment

              • farsheed

                #8
                Re: &quot;Show this file in explorer&quot;

                You are my hero man, Thanks a lot.

                Comment

                Working...