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?

link|improve this question

I have updated my answer as the original script did not work. – James Aug 5 '10 at 9:45
feedback

1 Answer

up vote 2 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.

link|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
feedback

Your Answer

 
or
required, but never shown

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