Solved Open folder in new window by doing ctr+click

Cellendhyll

New member
Local time
1:18 PM
Messages
2
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

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba
OS
Windows 7 Home Premium 32bit

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Thank you guys :)
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba
OS
Windows 7 Home Premium 32bit
You're most welcome. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top