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?
<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?
Inviato Sat 05 Sep 15 @ 3:27 pm
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.
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.
Inviato 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.
Thank you.
Inviato Sat 05 Sep 15 @ 4:34 pm
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....
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....
Inviato Fri 09 Oct 15 @ 8:46 am
For a skin ...
<button action="automix_skip & setting 'videoRandomTransition' 0" > (for Off)
<button action="automix_skip & setting 'videoRandomTransition' 1" > (for On)
<button action="automix_skip & setting 'videoRandomTransition' 0" > (for Off)
<button action="automix_skip & setting 'videoRandomTransition' 1" > (for On)
Inviato Fri 09 Oct 15 @ 7:01 pm
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.
We figured out that
automix_skip & setting 'videoRandomTransition' 0 (1)
doesn't work while
automix_skip & setting 'videoRandomTransition' off (on)
is working.
Inviato Mon 12 Oct 15 @ 2:13 pm