Ingresar:     


Forum: General Discussion

Tópico: Script to remove song from deck

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

I googled for the answer and found out I need to use deck 1 unload. But this does not work. When i click on the pad nothing happens. I use VDj v8.3. Does anyone know what am I doing wrong here ?
 

Mensajes Wed 06 Mar 19 @ 7:11 am
I think when You use the Pads from this Deck you can write "unload" , without the Deck ;-)
 

Syntax ist ok, maybe you're on the wrong pad-page? Or the page was shifted?
 

What skin are you using? The default skin has unload by right clicking (and hold) on the stop button.
 

I solved the problem partially. The syntax was wrong! It is not "deck 1 unload" but "unload deck 1". I say partially, because this allows me to remove a song only from the deck on which the script is called. So for example "unload deck 1 & unload deck 2" unloads first deck when called from the first and unloads the second deck when called from the second deck (but the first remains). My idea is to write a script that will clear all decks.
 

"unload deck 1" is definitely the wrong syntax. The "deck 1" part will be ignored, so it is exactly the same as writing "unload", which as you found out unloads the deck the script is called from.
"deck 1 unload & deck 2 unload" should work though. (depending also on loadSecurity option and if the decks are playing or not)
 

My current results are:
unload - no effect
deck 1 unload - no effect
unload deck 1 - removes song from the first deck (when called from the first deck)
unload deck default - removes song from the current deck
deck 1 unload & deck 2 unload - removes songs from both decks

This seems to be ridiculous that "deck 1 unload" does not work for me but "deck 1 unload & deck 2 unload" does. When I'll find a bit more time I will try to make screen recording so you guys could see the issue. Thanks for the responses.
 

for me,

unload - unloaded deck it was on

These 2 unloaded the indicated deck when placed on either deck

deck 1 unload
deck 2 unload
 

g8mPQ2F wrote :
This seems to be ridiculous that "deck 1 unload" does not work for me but "deck 1 unload & deck 2 unload" does. When I'll find a bit more time I will try to make screen recording so you guys could see the issue. Thanks for the responses.


It sometimes happens if a space or newline or something is added at the end.
Then the last "word" of the statement sometimes isn't parsed correctly

 



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