Button create help needed

Hello,

I like to create a button, which will create a new txt file from a clipboard copy and will delete the original selected file afterwards.
So far this button works, but there is something I like to change. After the new txt file has been created the name (but not the extention) still is selected. I have to hit the enter key than all is deselected. Can this be somehow done automatically too?
Thanks for any help

Here is the code I have so far:

@filesonly Clipboard COPYNAMES=nopaths Delete FILE="{clip}" QUIET FileType NEW=.txt NEWNAME="{clip}.txt"

Change the last line of the function to:

FileType NEW=.txt NEWNAME="norename:{clip}.txt"

Thanks a lot it´s working !
Now I have learned a new feature: norename