But, taking a step back, why not just use Ctrl-C, Ctrl-V?
I am one of those hopeless fools that imposes upon themselves single key triggers only.
This is something I do all the time across many other tools, Hit D on keyboard 2 to Duplicate selected items.
I quess I will pass the task to powershill via DopusRT.
Can I please place a feature request for this to work on folder objects as well? The Duplicate sub commands does what I need perfectly fine it just needs to support WHENEXISTS=rename so to avoid the dialog box. Thanks for the help!
You could do it with Copy DUPLICATE AS="* (1)" but that's going to put the number after the extension when it's a file, which you probably don't want.
A script could alter the pattern so it works with both files and folders. (Or a simple command could do it, if you only need to run it on one thing at a time.)