Annoying autosearch in explorer

vsub

New member
Member
Local time
5:14 PM
Messages
66
If I go to Tools=>Folder Options=>View=>When typing into list view
and enable
Automatically type into the search box
I will be able to automatically search when I start typing(which is what I actually want...I'm only searching the current directory without the subfolders).
But there is one really annoying thing that I'm searching for a way to fix

If I press Enter\NumpadEnter,it will open the file I want to open but it will also execute a search on the current folder which is really annoying.

The only thing I can think of(and I don't like it)is not use AutoHotkey to make those keys open the file on which I hit enter in another way

Code:
#IfWinActive,AHK_class CabinetWClass
Enter::
NumpadEnter::
Keywait,% SubStr(A_ThisHotKey,2)
for window in ComObjCreate("Shell.Application").Windows
Selected := window.Document.SelectedItems
for item in Selected
Run,% Item.Path
Return
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 SP1i7 4771 3.5Ghz2x8GB DDR3 GEIL EVO LEGGERAPALIT GTX 750 TI StormX Duo
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
i7 4771 3.5Ghz
Motherboard
ASUS B85 Plus
Memory
2x8GB DDR3 GEIL EVO LEGGERA
Graphics Card(s)
PALIT GTX 750 TI StormX Duo
Monitor(s) Displays
Samsung T24D390
Screen Resolution
1920x1080
Hard Drives
Samsung SSD 840 EVO 128GB
2TB Seagate SATA 3
600GB WD Blue SATA 2
PSU
Seasonic S12II 520W Bronze
Case
Cooler Master Force 500
Antivirus
Avast Free
Browser
Firefox
Instead of using Shell.Application you could just use the clipboard. Send ^c then parse the clipboard. Test if the filename returned is a file or folder and take the appropriate action. Looping through all the items in the shell is ok for a single active window or item, but it tends to bog when the loop is run multiple times in real time.
 

My Computer My Computer

At a glance

Windows 7 32 bitAMD 5200+ dual core2 GBNVidia GeForce 6150SE 128 MB
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.
Back
Top