Create new readme.txt from Selected File name

I'm stuck on a fairly simple button.

i make my own readme.info.x.md in a directory i want to make a quick note about. i have this hotkey-ed to create & automatically open for editing using this this command

Copy "C:\Users\CLOUDEN\Documents\x BlankTemplates\readme.info.x.md" HERE
{sourcepath}readme.info.x.md

using this as inspiration i trying to make a button that will ..

copy the {FileName} > Create a new file as {clip}.readme.info.x.md > then open it with its default app (which is NP++).

this is what i have so far...

@disablenosel
Clipboard COPYNAMES=nopaths,noexts
FileType NEW=.txt NEWNAME="{clip}.readme.info.x.md" 

// Select {newfile}  <-- i want this line to send the new file to it default editor automatically 

this is semi working. it will make a {clip}.readme.info.x.md file BUT not always of the the currently selected file\folder. it will usually give me the {clipped name} the of the file i had previously selected.

e.g.
i had f_key_sender.exe selected
i then clicked on the Obsidian-1.6.5.exe it was the only item selected
i ran the button and it created the F_Key_Sender.readme.info.x.md
if i then click on one of those joytokeys.zip and run the button again it will give me obsidian.readme.info.x.md

any ideas anyone??

{clip} is usually evaluated before any commands run, so it's probably inserting the old clipboard text.

There's no reason to set the clipboard in one command just to store the name of a file to use in the next command. Just use the filename directly, e.g. {file|noext}. Then you don't trash your clipboard for no reason every time you use the button.