Silent Rename on Copy and Duplicate operations

I need a toolbar button which duplicates the selected files.
The "Copy Duplicate" function pops up a dialog requiring a rename pattern.
I would like the button to include the rename pattern.
I need a pattern which suffixes a number to the existing filename: "Filename.xyz" to "Filename 1.xyz"
If "Filename 1.xyz" is already existing, it should be renamed to "Filename 2.xyz"

Also, I need a button which copies selected files to a different location and automatically renames in the above manner, if similar filenames already exist.

Can someone help me out with such buttons. Thanks!

Try these. They'll put the number in brackets but other than that I think do what you're asking for:

Copy AS * WHENEXISTS=rename HERE
Copy AS * WHENEXISTS=rename

Thanks! They work :slight_smile: