Hi
I have a skin where i have buttons to turn on common video effects that i use, i.e. i can turn titler on & off quickly if am doing karaoke and don't want the title obscuring the words.
At the moment i am using
<button action='video "on" ? video_fx_select "Titler" & video_fx'>
this selects the relevent effect from the video_fx list and toggles it, however this means that if i have 4 different fx buttons on my skin, only the last one i have clicked on will be "highlighted" by the <selected> tag indicating whether or not the effect is active.
Ideally i would like to have a button directly turn on or off a specific video effect so that i can see at a glance which effect are on or off.
Does anyone know how this can be achieved, any help appreciate.
Thanks
I have a skin where i have buttons to turn on common video effects that i use, i.e. i can turn titler on & off quickly if am doing karaoke and don't want the title obscuring the words.
At the moment i am using
<button action='video "on" ? video_fx_select "Titler" & video_fx'>
this selects the relevent effect from the video_fx list and toggles it, however this means that if i have 4 different fx buttons on my skin, only the last one i have clicked on will be "highlighted" by the <selected> tag indicating whether or not the effect is active.
Ideally i would like to have a button directly turn on or off a specific video effect so that i can see at a glance which effect are on or off.
Does anyone know how this can be achieved, any help appreciate.
Thanks
Posté Mon 28 Feb 11 @ 2:04 pm
The way your action is written it will highlight the selected video_fx (selected action will light on the buttton only if all conditions are true)
However i dont think there is an alternative way to trigger video effects. It's a small limitation of VDJ script. We are all looking forward for an upated version.
I will try to find a workaround (if there is any) and let you know.
However i dont think there is an alternative way to trigger video effects. It's a small limitation of VDJ script. We are all looking forward for an upated version.
I will try to find a workaround (if there is any) and let you know.
Posté Tue 01 Mar 11 @ 11:23 am
Actually you can modify the code on something like this:
<button action=var_equal "$VFXTitler" 1 ? on & 'video "on" ? video_fx_select "Titler" & video_fx off ? video_fx & set "$VFXTitler" 1 : video_fx & set "$VFXTitler" 0'>
and you can make it work! I'm not on my dj-ing laptop right now so I can't try it but I had achieved something like this on my controller's leds ;)
<button action=var_equal "$VFXTitler" 1 ? on & 'video "on" ? video_fx_select "Titler" & video_fx off ? video_fx & set "$VFXTitler" 1 : video_fx & set "$VFXTitler" 0'>
and you can make it work! I'm not on my dj-ing laptop right now so I can't try it but I had achieved something like this on my controller's leds ;)
Posté Wed 02 Mar 11 @ 7:49 am
THX
Posté Fri 15 Jul 11 @ 12:51 pm
Hi PhantomDeejay
When i try what you are saying i get "error in XML file", i think the problem may be with quotes, there is no quotation before "var_equal", should there be?
I have tried playing with quotes but don't know enough to be able to get it to work, i can stop the error message but the button becomes ineffective.
Thanks
When i try what you are saying i get "error in XML file", i think the problem may be with quotes, there is no quotation before "var_equal", should there be?
I have tried playing with quotes but don't know enough to be able to get it to work, i can stop the error message but the button becomes ineffective.
Thanks
Posté Sat 30 Jul 11 @ 10:15 am