Ingreso rápido:  

Forum: Old versions

Tema: can you program video effect buttons directly in skins

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

djkrysrPRO InfinityMember since 2010
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
 

Mensajes Mon 28 Feb 11 @ 2:04 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
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.
 

Mensajes 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 ;)
 

Mensajes Wed 02 Mar 11 @ 7:49 am
THX
 

Mensajes Fri 15 Jul 11 @ 12:51 pm
djkrysrPRO InfinityMember since 2010
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
 

Mensajes Sat 30 Jul 11 @ 10:15 am


(Los tópicos y foros antiguos son automáticamente cerrados)