快速登录:  

Forum: VirtualDJ Skins

话题: Discrete Play / Cue Button

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

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?
 

发表时间 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" >
 

发表时间 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...
 

发表时间 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!
 

发表时间 Sun 05 Jul 15 @ 7:05 pm


(陈旧帖子或论坛版块会自动关闭)