I'd like to create new empty file by pressing Ctrl+shift+F (it is something like create new folder by pressing Ctrl+shift+N), but I have some problems to do it right.
I have this so far:
#ifWinActive ahk_class CabinetWClass
^+F::
#ifWinActive ahk_class Progman
^+F::
{
;How to get focus on window, not selected item?
Send {AppsKey}
Send wt
Sleep 200
;Delete selected name and extension
Send {Del 5}
;Confirm extension change
;KeyWait Enter
;Send {Enter}
}
return
Everything is nice except when some file is selected in the explorer window.
I tried to search for focus related topics, but nothing helped me.
Is there a possibility to do it 'create new folder' way?




