Ingreso rápido:  

Forum: VirtualDJ Technical Support

Tema: Auto hot cue 1 script help
Hi, I am after a bit of script help please.
I'm trying to add an auto script for ONSONGLOAD to auto add hotcue1 .
I have it kind of working from an old thread I found with the following
repeat_start 'setc' 1300ms & set_cue 1 & repeat_stop 'setc' .

The issue is though, if I deck swap the song, it sets a new hotcue 1 at the swap position.
Is there a way for the script to ignore the action of adding hotcue1 if hotcue1 already exists ?
 

Mensajes Sun 16 Apr 23 @ 1:27 pm
locoDogPRO InfinityModeratorMember since 2013
has_cue 1 ? cue exists : cue doesn't exist
 

Mensajes Sun 16 Apr 23 @ 1:47 pm
Thanks Locodog,
Still not sure how that would look for the ONSONGLOAD.
I'm guessing what I am trying is incorrect as it just keeps over writing and making a new cue 1.

has_cue 1 ? cue exists : cue doesn't exist ? repeat_start 'setc' 1300ms & set_cue 1 & repeat_stop 'setc'
 

Mensajes Sun 16 Apr 23 @ 2:14 pm
locoDogPRO InfinityModeratorMember since 2013
has_cue 1 ? : repeat_start 'setc' 1300ms & set_cue 1 & repeat_stop 'setc' .

honestly this is all you need

has_cue 1 ? : set_cue 1
 

Mensajes Sun 16 Apr 23 @ 2:35 pm
Perfect.
Thanks for the info, does exactly what I hoped.
 

Mensajes Sun 16 Apr 23 @ 2:41 pm