How to Create New/Empty Files

Is there a way to make it open the newly created file for editing?

Yes, the Filetype NEW command adds the name of the newly created file to a function variable called newfile so you can do something like this:

@nofilenamequoting
Filetype NEW=.txt NEWNAME="{dlgstringS|Enter new file name:|New Text Document}"
notepad "{sourcepath}{$newfile}"
2 Likes