Don't deselect new text file upon entering name

when i create a new folder with this command, i can enter a name, hit Return, and the folder stays selected, so if i hit Return again, the folder opens.

CreateFolder "New Folder" INLINE 

but when i create a new text file with this command, i can enter a name, but when i hit Return, the file is no longer selected, so i can't hit Return again to open it.

FileType NEW=.txt

how can i change this behavior while maintaining inline rename?

See Jon's reply to this thread:
[Can anyone help ? No filename + open it)

(Remove the last line that runs NotePad++.exe if you don't want to open the file in an editor automatically.)

thanks leo, just what i needed :slight_smile: