Paste Filename On Hotkey

I want to copy filenames to the clipboard and then use a single hotkey to invoke inline rename, then paste from the clipboard in the same macro.

This isn’t working for me:
Rename PATTERN="*" TO="{clip}" AUTORENAME

It just adds onto the name instead of renaming it. ?
And for some reason when I copy the code onto this forum it keeps removing the star in the quotes.

When you are typing a post, above the box you type into is a link: Editing & Formatting Tips - That explains how to post code blocks which avoid the problem (among other benefits), as well as how to get a * outside of code blocks if it's needed.

That would rename the selected files to what's in the clipboard, without displaying any prompt first.

I'm not sure if there is a way to do what you want using inline rename, but you could have a small dialog box pop-up to let you edit the name, using {dlgstring|Enter name|{clip}} or similar.

Or, better, use {clip|cleanfilename} to make what's in the clipboard OK for filenames, i.e.

{dlgstring|Enter name|{clip|cleanfilename}}

(You can still run into problems with clipboard text containing }, which is allowed in filenames. A script could do this in a better way if expect that to be an issue.)

my bad

For the pasting I could just leave it as is, doing the inline rename hotkey first, then Ctrl + V.

Actually I ran into this problem because I was still trying to figure out a way to divide copy/paste between files and text. I tried to add Shift to the Ctrl + C and V, to copy and paste text only. So that if I’ve copied a filename or something like that, then it doesn’t matter if I’ve copied files, it won’t overwrite that text. I still haven’t been able to do this.