Se Connecter:     


Forum: General Discussion

Sujet: Script School - Page: 55
In the end, I found that I just needed to set deck all to PLAY_PAUSE, CUE, MOTOR_JOG, MOTOR_TIMESTAMP, PITCH, and SHIFT.
 

Neat script to switch back and forth from normal songs view to linked tracks view

browser_window 'songs' ? show_splitpanel 'folders' off & show_splitpanel 'sideview' on & deck 1 has_linked_tracks & wait 33 ms & sideview_sort 'bpm' & browser_window sideview & browser_scroll 'top' & browser_scroll +1 : show_splitpanel 'sideview' off & browser_window 'songs'
 

Hello, gentlemen. I have a question, and I'm hoping the VDJ-script geniuses can help me. I'm writing a huge, long script. Let's say I'm assigning it to a pad or a button. I need the script to stop running when I click it again, so I can roll back all the changed values ​​to their state before the script (say, eq). How can I make the script stop running and go to the rollback block? Thanks. :)

Здравствуйте господа. Есть вопрос, надеюсь гении vdj-scripts смогут мне помочь. Я пишу огромный, длинный скрипт. Допустим назначаю его на pad или кнопку. Мне нужно, что бы при повторном нажатии скрипт перестал выполняться и я мог откатить все измененные значения на их состояние до скрипта (допустим eq). Как заставить скрипт перестать выполняться и перейти к блоку для отката? Спасибо. :)
 



Hello! Im trying to add a script that checks for a certain cue, deletes it if it exists and replaces it if it doesn't exist. This is so a cue teleport doesn't always happen. My current attempt at the code has me doing this:

has_cue 3 ? delete_cue 3 : set_cue 3

this works, but places the cue at the APOI which i dont want, i need it placed in a specific spot. according to the vdj script manual, you should be able to measure in beats by adding bt to the end of a number, and the set_cue command uses 2 parameters, 1st is the cue number, 2nd is the position; but

has_cue 3 ? delete_cue 3 : set_cue 3 149bt

does absolutely nothing. if i remove the bt, it places it at a random point in the song. However, adding a % or ms to the second number does indeed work, I just don't want to calculate how many milliseconds the specific beat in the middle of the track is...

Is there anyone that could help me?
 

has_cue 3 ? delete_cue 3 : set_cue 3 149 bt

Seems odd that it needs a space between number an unit but it does for this case, maybe a typo on the devs part.