- Code:
; =================== CREATE TXT ==========================
#IfWinActive, ahk_class CabinetWClass
^+t::
send !f
loop ;wait until on new menu item
{
StatusBarGetText, status
IfInString, status, new
{
break
}
send {down}
}
send {right}
send t
return
; =================== CREATE FOLDER ==========================
; https://lifehacker.com/5072853/create-new-folders-in-explorer-with-a-shortcut
; New folder script -- Creates new folder
; in Windows Explorer with Ctrl-N
#IfWinActive, ahk_class CabinetWClass
^+n::
send !f
loop ;wait until on new menu item
{
StatusBarGetText, status
IfInString, status, new
{
break
}
send {down}
}
send {right}{enter}
return
https://lifehacker.com/5072853/create-new-folders-in-explorer-with-a-shortcut