Page 1 of 1

Duplicate Command?

PostPosted: Mon Jun 19, 2017 2:30 am
by PeterMoretti
While using Fusion, I find myself selecting nodes and copying and pasting them (Ctrl C... Ctrl V). Is there a way in Fusion to do this with one command, i.e. Duplicate in instead of Copy and Paste?

It would save some keystrokes. Thanks so much!

Re: Duplicate Command?

PostPosted: Tue Jun 20, 2017 8:31 pm
by michael vorberg
there isnt anything like this fusion by default
you can easily create script with that function and assign it to a hotkey

Re: Duplicate Command?

PostPosted: Tue Jun 27, 2017 2:16 am
by PeterMoretti
Thanks Michael,

If you want to give a little help on how to create that script, that would be great. But truly, no pressure ;)

Re: Duplicate Command?

PostPosted: Fri Jul 07, 2017 12:20 am
by Blazej Floch
Try this:

1. In the Menu: Script -> Edit -> New Script...
2. Call it "DuplicateSelected"
3. A default text editor will open. Type:
Code: Select all
comp:Copy()
comp:SetActiveTool()
comp:Paste()

4. Save and close.
5. In the Menu: View -> Customize Hotkeys...
6. As target choose: Views -> Flow
7. Click New...
8. Choose the hotkey (for example CTRL+SHIFT+D)
9. Chose Action: Scripts
10. Select the action: DuplicateSelected
11. Ok.
12. Ok.

Select tools and hit your shortcut.

Some notes:
3. Line 2 deselects the current selection, else Fusion will create merges for you.
6. This limit the hotkey to the Flowview

Re: Duplicate Command?

PostPosted: Mon Jul 10, 2017 6:55 am
by PeterMoretti
Blazej,

THANK YOU SO MUCH!!

That is brilliant and it WORKS!!

Re: Duplicate Command?

PostPosted: Sat Jun 22, 2019 5:55 pm
by Saad Shah
Blazej
Can I do exactly this in Davinci Resolve Fusion 16 Beta 3?
Thanks
Saad