Connexion rapide:  

Forum: VirtualDJ Technical Support

Sujet Parameters and custom slider

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

NicotuxHome userMember since 2014
Is there a way to know the kind (absolute or relative) of parameters passed to custom button/Sliders in a way to do some different actions, specially keep variable in a range,
reset at some point... or prevent absolute/relative from doing anything ?
i.e.: is_absolute ? set $myvar : nothing

(Always related to set myvar from within a custom slider)

Parameters passed to custom sliders are unchangeable after what no other functions are usable
set myvar & get_var myvar & debug
will return +0.3 or -0.3 in relative
casting myvar or parameter to absolute gives +0.3 or -0.3 in absolute

making it impossible to do : (you may call this custom slider "`get_var myvar`" using new backquotes handling in custom names :)
set myvar & var_greater myvar 1 : set myvar 1 ? var_smaller myvar 0 ? set myvar 0

 

Posté Wed 04 Mar 20 @ 3:23 pm
AdionPRO InfinityCTOMember since 2006
I don't think I understand what you are trying to do.
The action of a custom slider will get the current value of the slider when the slider is moved, not sure how you would have gotten a relative value in there.
 

Posté Wed 04 Mar 20 @ 3:32 pm
NicotuxHome userMember since 2014
It's a simple mouse roll over the custom slider

 

Posté Wed 04 Mar 20 @ 3:47 pm


(Les anciens sujets et forums sont automatiquement fermés)