I have a hotkey bound to the following:
FileType NEW=.txt NEWNAME="New Markdown File.md"
It will create a new file and activate inline rename, with the file name "New Markdown" selected. I am happy with that as it is.
I would like to create another hotkey similar to the above but instead of the file name being selected I would like the extension selected. This way I can quickly create a number of file types that are based on text files by just providing their extension when the inline field is active:
.ahk
ps1.
psm1.
json.
xml
html
I read the documentation page for Filtype
and did not find a means to do this. Is there a way to do this?
Any help would be greatly appreciated!