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.
Posté Sat 30 Aug 14 @ 10:37 am
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.
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.
Posté 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?
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?
Posté Sat 30 Aug 14 @ 11:27 am
Nevermind, I fixed it. I just had to put hot_cue 11 in there. Thank you!
Posté Sat 30 Aug 14 @ 11:43 am