Connexion rapide:  

Forum: VirtualDJ Skins

Sujet Discrete Play / Cue Button

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

As of now, anytime I hit the Cue button, The play button visual is also activated. Can these two button be discrete so that when I hit Cue, only the cue image is highlighted?
 

Posté Sat 04 Jul 15 @ 12:31 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
if you press the CUE button and preview the track, then apparently it "plays" so ..play action returns true of course.
To tell if the "play status" comes from the CUE or not, you need to assign the CUE as ..
cue_stop & set 'CuePressed' 1 while_pressed
and the "led" of the PLAY button or any other "visual" you have in a skin as ..
var 'CuePressed' ? off : play
or if you want this for a skin...
<button action="play_pause" query="pause ? blink : var 'CuePressed' ? blink : on" >
 

Posté Sat 04 Jul 15 @ 1:50 pm
Thanks, this works beautifully using mouse and monitor.... But can not seem to get the controller to make the on-screen cue and play do the same. Also, what is the number "1" used for? I had to take it out for it to work correctly on screen...
 

Posté Sun 05 Jul 15 @ 3:15 am
I got it.... It turned out that some of my code was calling for a different action of multiple actions in the wrong order. I didn't realize the first action is the one that a button image responds to.

Thanks again... BTW, do you accept personal donations? You've help out!
 

Posté Sun 05 Jul 15 @ 7:05 pm


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