Quick Sign In:  

Forum: VirtualDJ Skins

Topic: key 0 blink

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

routryHome userMember since 2009
Hello,

I try
<button pannel="leftd1" action="deck left key 0 ? off & deck left key 0 : blink & deck left key 0">
<pos x="471" y="322"/>
<size width="24" height="12"/>
<down x="471" y="1347"/>
<selected x="471" y="1347"/>
</button>
and when I went below 0 or above 0, it always flashes !
Someone should the solution?

Thank you in advance
 

Posted Sun 12 Jul 15 @ 10:11 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Yes, because thats what the action you used is doing :)

How do you want that button to behave ?
 

Posted Sun 12 Jul 15 @ 1:03 pm
routryHome userMember since 2009
hello djdad,

I wish that the button is not flashing KEY 0
As against that flashes when I make the key_move -0.1 or +0.1 key_move

to simplify
Below 0 flashes (blue color)
0 set (white color)
Above 0 flashes (blue color)

thank you djdad
 

Posted Sun 12 Jul 15 @ 1:33 pm
routryHome userMember since 2009
Oups ! no flashes (blink)
Sorry.
 

Posted Mon 13 Jul 15 @ 3:38 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Sorry, still confused.

anyways..
deck left key 0 ? off & deck left key 0 : blink & deck left key 0
Led/button will blink if Key >0 or <0 and off if =0

deck left key 0 ? blink & deck left key 0 : off & deck left key 0
Led/button will be off if Key >0 or <0 and will blink if =0

deck left key 0 ? off & deck left key 0 : on & deck left key 0
Led/button will be on if Key >0 or <0 and off if =0

For version 8 skins (version="8" in the 1st line of the xml), you can also split the action that the button will perform with the query of the "Led"
So have ..
<button action="deck left key 0" query="deck left key 0 ? off : blink" >
 

Posted Mon 13 Jul 15 @ 8:22 am
routryHome userMember since 2009
Thank you
I followed your script and I was faced with a problem that I managed to skirted.
Indeed your script works wonders on orientation = "round".
By cons of a button I used the %
Here are 2 scripts
<button pannel="leftd1" action="holding ? key 0 : deck left key_move -0.1" rightclick="holding ? key 0 : deck left key_move +0.1">

<button pannel="leftd1" action="deck left key 50% ? off & deck left key 50% : on & deck left key 50% & deck left key 0" rightclick="deck left match_key">

The desired effect is obtained
thank you again
 

Posted Mon 13 Jul 15 @ 1:39 pm


(Old topics and forums are automatically closed)