Ingreso rápido:  

Forum: General Discussion

Tema: Automatically incrementing cues when setting up?

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

Is there a VDJ script I can use that automatically detects the next unset cue available and sets a cue on that number? Like if I had cues 1, 2, and 3 set up, I want to press/hold a button and it'll automatically detect that cue 4 has not been setup yet so it makes a cue point there.
 

Mensajes Sat 30 Aug 14 @ 10:37 am
locodogPRO InfinityModeratorMember since 2013
Yes possible, the script below will check for cues 1 to 5 and set 1 to 6, you may want to extend it,

hot_cue 1 ? hot_cue 2 ? hot_cue 3 ? hot_cue 4 ? hot_cue 5 ? hot_cue 6 : hot_cue 5 : hot_cue 4 : hot_cue 3 : hot_cue 2 : hot_cue 1

Explained, is there a hotcue 1 ? yes, is there a hotcue 2 ? yes, is there a hotcue 3 ? etc upto, is there a hotcue 5 ? yes, then set hotcue 6 : there isn't a hotcue 5 then set hotcue 5 : there isn't a hotcue 4 then set hotcue 4 etc etc.
 

Mensajes Sat 30 Aug 14 @ 11:18 am
Your code worked perfect so I tried extending it to go until cue 10:

hot_cue 1 ? hot_cue 2 ? hot_cue 3 ? hot_cue 4 ? hot_cue 5 ? hot_cue 6 ? hot_cue 7 ? hot_cue 8 ? hot_cue 9 ? hot_cue 10 ? hot_cue 10 : hot_cue 9 : hot_cue 8 : hot_cue 7 : hot_cue 6 : hot_cue 5 : hot_cue 4 : hot_cue 3 : hot_cue 2 : hot_cue 1

And it stopped working. Can you explain?
 

Mensajes Sat 30 Aug 14 @ 11:27 am
Nevermind, I fixed it. I just had to put hot_cue 11 in there. Thank you!
 

Mensajes Sat 30 Aug 14 @ 11:43 am


(Los tópicos y foros antiguos son automáticamente cerrados)