Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got several Autohotkey shortcuts to open frequently opened folders. An example entry:

^+D:: Run "c:\Development"

This is a pretty simple script, and I know it's not AutoHotkey's fault, but whenever I enter this command it'll open the folder and put the focus on the sort bar above the files (I have my folders set to display details). The only ways I know how to get the focus back on the contents of the folder is to either hit enter, which reorders the contents, or to click inside the folder contents with my mouse, which kind of defeats the purpose of navigating to the folder via a hotkey in the first place.

What key combination causes the focus to be put on the sort bar in Windows Explorer, and is there any way to prevent it from doing this?

share|improve this question
up vote 1 down vote accepted

This seems to be a configuration specific issue. On my Windows7 system the filemanager opens with the focus on the files in the directory.

You could ty to jump to the right pane with tab's.


Run "c:\Development"
Sleep, 400 ; Allow window to open or use winwait
Send, {Tab 4}
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .