Quick Sign In:  

Forum: VirtualDJ Skins

Topic: button VDJ8 random video transitions

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

If I wanted to make a button to turn random video transitions on or off, would the syntax be:

<button action="toggle '$VT2' & var '$VT2' ? off & setting 'videoRandomTransition' yes : on & setting 'videoRandomTransition' no">

or:

<button action="toggle '$VT2' & var '$VT2' ? off & setting 'videoRandomTransition' true : on & setting 'videoRandomTransition' false">

or:

<button action="toggle '$VT2' & var '$VT2' ? off & setting 'videoRandomTransition' 1 : on & setting 'videoRandomTransition' 0">

or something else?
 

geposted Sat 05 Sep 15 @ 3:27 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Since the setting is a Yes|No, so a 'toggle" one, i believe this should work..
action="setting 'videoRandomTransition'"
If not, then you need to try something ..
action="setting 'videoRandomTransition' 1 ? setting 'videoRandomTransition' 0 : setting 'videoRandomTransition' 1" query="setting 'videoRandomTransition' 1 ? on : off"/>

We use query (v8 feature) to define how the On/Off graphics will be handled, similar to how we separate a button from its LED in controllers.
Main reson we are doing this is to get a mich cleaner code for the action , without on/off and help users to get the assigned actions using the "Learn" feature in the Controllers tab.

PS. I dont think you need any variables for this. Unless you are using these variables for something else.
 

geposted Sat 05 Sep 15 @ 4:23 pm
Right on the nail, DJDad! I used the variable to control the on/off stutus of the button. Good to know that query is now the way to do that! I'll change my skin accordingly!
Thank you.
 

geposted Sat 05 Sep 15 @ 4:34 pm
pfiffiLE userMember since 2015
hallo!
my problem is the same. i would like mapping a
button1 - automix_skip & setting 'videoRandomTransition' no and
button2 - automix_skip & setting 'videoRandomTransition' yes
...is that possible?
i hope y can help me....

 

geposted Fri 09 Oct 15 @ 8:46 am
djdadPRO InfinityDevelopment ManagerMember since 2005
For a skin ...
<button action="automix_skip & setting 'videoRandomTransition' 0" > (for Off)
<button action="automix_skip & setting 'videoRandomTransition' 1" > (for On)
 

geposted Fri 09 Oct 15 @ 7:01 pm
PachNPRO InfinityMember since 2009
He wanted this action an a keyboard button.
We figured out that
automix_skip & setting 'videoRandomTransition' 0 (1)
doesn't work while

automix_skip & setting 'videoRandomTransition' off (on)

is working.
 

geposted Mon 12 Oct 15 @ 2:13 pm


(Alte Themen und Foren werden automatisch geschlossen)