Open folder in new window by doing ctr+click


  1. Posts : 2
    Windows 7 Home Premium 32bit
       #1

    Open folder in new window by doing ctr+click


    Hi everyone,

    First of all, I hope I'm in the good area of the forum. None of them suited my problem so I decided to write about it here. Please, feel free to move my subject in the good section if you feel it would be better somewhere else.

    Everything is in the title. I would like to be able to open a folder in new window by doing ctr+click.

    Do you think it's possible?

    Thank you all :)
    Cell'
      My Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Cell, and welcome to Seven Forums. :)

    If you like, you could either press CTRL + N or right click and click on "Open in new Window" to open the selected folder in a new window.

    Open each Folder in the Same or Own Separate New Window
      My Computer


  3. Posts : 5,092
    Windows 7 32 bit
       #3

    This seems to work for me in AutoHotkey

    I changed it to Control Right Click to avoid clash with Control Click selecting folders in Explorer.

    Code:
    SendMode Input
    ClipSave := ""
    
    #IfWinActive,ahk_class CabinetWClass
    ^RButton::
    Gosub, DoOpen
    Return
    #IfWinActive,ahk_class ExploreWClass
    ^RButton::
    Gosub, DoOpen
    Return
    
    DoOpen:
    ClipSave := Clipboard
    clipboard =  ; Start off empty to allow ClipWait to detect when the text has arrived.
    Send ^c
    ClipWait, 2  ; Wait for the clipboard to contain text.
    Loop, parse, clipboard, `n, `r
    {
        run, explorer %A_LoopField% 
    }
    Clipboard := ClipSave
    Return
    If it does not work it may need
    "show full path in Title Bar" to be enabled in folder options

    Edit: The way the hotkey works is you run it and just let it sit in the tray. When it detects the hotkey it takes the action. You can run it as script or use the ahk compiler to make it an exe.
    (If you make an exe then Autohotkey does not have to be on the machine to run the program.)
      My Computer


  4. Posts : 2
    Windows 7 Home Premium 32bit
    Thread Starter
       #4

    Thank you guys :)
      My Computer


  5. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #5

    You're most welcome. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:36.
Find Us