Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I like to launch explorer via the win+e shortcut. However I'd like to start with focus in the address bar so I can quickly go to some directory. Can I do this? Is there some autohotkey script for this?

share|improve this question
    
I have updated my answer as the original script did not work. –  James Aug 5 '10 at 9:45
add comment

1 Answer

up vote 4 down vote accepted

The following [Edit]AutoHotKey[/Edit] script simulates pressing F4 which can be used to go to the address bar:

#e::
Run explorer.exe
WinWait ahk_class ExploreWClass,,1000
Send {F4}

Seems to work OK for me on Windows XP.

share|improve this answer
    
?????? What language had you use? It's not .BAT, .VBS ou .JS! –  kokbira Aug 5 '10 at 11:20
    
The original post asked for an AutoHotKey script. Therefore I don't think the downvote was deserved. –  James Aug 5 '10 at 11:38
    
thanks. I added a Send {Esc} so that the drop down that pops up when you hit F4 is closed and it just leaves the current folder selected in the address bar –  Sam Holder Aug 9 '10 at 13:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.