I would like to know if it is possible in a script tot send a keystroke. See script:

"C:\Program Files (x86)\Notepad++\Notepad++.exe" "{sourcepath}\Nieuw.txt"

I would like to send a "Yes" when the question comes "Do you want to save the new document".

Thank You

It isn't, but there's a better way that doesn't need to:

Filetype NEW=.txt NEWNAME="norename:Nieuw" "C:\Program Files (x86)\Notepad++\Notepad++.exe" "{sourcepath$}{$newfile}"

(Note: This always creates a new file, so if Nieuw.txt already exists, that will create Nieow (2).txt and edit that.)