Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Problem for a double condition

This topic is old and might contain outdated or incorrect information.

Dodge57PRO InfinityMember since 2009
Hello,

I would like ta display a pannel if the deck is loaded and if a variable = 1. And the same pannel must blink if the song ends

<pannel pannel="DECKMIX" id="JOG1" group="joggroupe" visible="var '$ONAIR1' 1 ? deck left loaded ? on : deck left songpos_remain 40000ms ? blink 500ms : off">

with this script, the pannel is on all the time

can you help me ?
 

Posted Mon 04 Mar 13 @ 9:15 am
djdadPRO InfinityDevelopment ManagerMember since 2005
A panel can not blink.
It can be visible or not.
You need to have a button to blink inside that panel.
 

Posted Mon 04 Mar 13 @ 11:35 am
Dodge57PRO InfinityMember since 2009
well on a pannel can blink!
I used it in the millenium V3 (http://fr.virtualdj.com/addons/15672/Black_Millenium_v3.html)
for example alarm end of music, and it works perfectly !

<pannel pannel="DECKMIX" id="SYNCALARM1" visible="var_equal '$WD_BPMLR_SYNC' 0 ? blink 500ms : off">
<size width="157" height="119"/>
<pos x="1554" y="364"/>
<down x="87" y="1794"/>
</pannel>
 

Posted Mon 04 Mar 13 @ 11:47 am
djdadPRO InfinityDevelopment ManagerMember since 2005
I didnt know that. It seems that blink toggles between true and false then.

Try this ..
visible="deck left loaded ? deck left songpos_remain 40000ms ? blink 500ms : var '$ONAIR1' 1 ? on : off : off"
 

Posted Mon 04 Mar 13 @ 1:37 pm
Dodge57PRO InfinityMember since 2009
great, it works very well !

Thank you very much !
 

Posted Mon 04 Mar 13 @ 11:37 pm


(Old topics and forums are automatically closed)