Your shopping cart is empty.

Duplicate Selected Scene

Submitted by Angelosss08 on Wed, 01/27/2021 - 19:13
Angelosss08
Pro User

Hello there,

how can I use Reactions to duplicate the currently highlighted/selected scene? Capture and insert is useful at times but I want to duplicate every clip (playing or not) and not to play that scene automately.

Thank you

Topic Category: 

6 Responses

Comments

John C
Forum Admin
#1

Try this:
'self' .song().duplicate_scene ( ) 1
'1' is the scene number from the top (starting from zero).

Angelosss08
Pro User
#2

Hi John,

I mean the highlighted scene each time, not only scene 1 or scene 2.

Thanks

John C
Forum Admin
#3

Instead of adding a 1, add this: self.selected_scene_idx()

Angelosss08
Pro User
#4

For some reason this code duplicates the next scene from the highlighted. Is it something with the offset?

John C
Forum Admin
#5

oh does it...
Ok, try adding this instead:
self.selected_scene_idx() - 1

Angelosss08
Pro User
#6

Ok it worked
Thank you!