Connexion rapide:  

Forum: General Discussion

Sujet Script to remove song from deck

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

g8mPQ2FControlleristMember since 2018
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 ?
 

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

Posté Wed 06 Mar 19 @ 8:08 am
Syntax ist ok, maybe you're on the wrong pad-page? Or the page was shifted?
 

Posté Wed 06 Mar 19 @ 8:08 am
What skin are you using? The default skin has unload by right clicking (and hold) on the stop button.
 

Posté Wed 06 Mar 19 @ 5:26 pm
g8mPQ2FControlleristMember since 2018
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.
 

Posté Thu 07 Mar 19 @ 6:02 am
AdionPRO InfinityCTOMember since 2006
"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)
 

Posté Thu 07 Mar 19 @ 6:15 am
g8mPQ2FControlleristMember since 2018
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.
 

Posté Thu 07 Mar 19 @ 8:53 am
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
 

Posté Thu 07 Mar 19 @ 9:03 am
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

 

Posté Thu 07 Mar 19 @ 9:40 am


(Les anciens sujets et forums sont automatiquement fermés)