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'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

1 Answer 1

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.

Example:

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

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.