Just for variation, here's one I've been using which, instead of doing a File > New > Folder in the menu, uses a dialog to ask for the folder name. After creating it, it puts the cursor focus on the new folder.
Bit redundant perhaps but thought I'd post it anyway.
It relies on "Display full path in the title bar", so of course doesn't work in "My Documents" etc.
Code:
#IfWinActive ahk_class CabinetWClass
{
^+n::
WinGetActiveTitle, Title
IfInString Title, :\
{
StringRight s, Title, 1
If s <> \
Title := Title . "\"
InputBox, FolderName, Create New Folder, Name of new folder:,
If StrLen(FolderName) > 0
{
FileCreateDir %Title%%FolderName%
Sleep 100
SendInput {f5}
Sleep 200
SendInput %FolderName%
}
}
Return
I think I'll change to using the File menu, seems more sensible.
