Quick Sign In:  

Forum: VirtualDJ 8.0 Technical Support

Topic: Set a Var from an effect slider without a slot

This topic is old and might contain outdated or incorrect information.

locoDogPRO InfinityModeratorMember since 2013
*Edit oooops sorry I was meant to post this in technical*

set '$SC101' '`deck 1 effect_slider 'flanger' 1'

This is causing me a bit of a headache, if the effect is on slot 1 then the variable is set correctly , if it isn't, then it doesn't.
I would have thought that specifying the FX by name would have negated the need to specify the slot, It does in most other circumstances.
Although my project will use slots I'd rather avoid the duplication of writing POI, Customs for every slot.

Is this fixable in an update?
 

Posted Thu 29 Jan 15 @ 6:20 am
AdionPRO InfinityCTOMember since 2006
If this is the exact syntax you use, then the use of the same style of quotes twice would be the problem.
set '$SC101' '`deck 1 effect_slider 'flanger' 1'
The first parameter to set would be '$SC101'
The second parameter would be '`deck 1 effect_slider '
In this case, you can switch to double quotes for either the inside or the outside quotes, for example
set '$SC101' '`deck 1 effect_slider "flanger" 1'
 

Posted Thu 29 Jan 15 @ 6:25 am
locoDogPRO InfinityModeratorMember since 2013
Thanks for that, I'll give that a try.

*edit* magnifique!
[SOLVED]
 

Posted Thu 29 Jan 15 @ 6:28 am
Hmm Loco you seem super excited about this, can share exactly this all means please??
 

Posted Thu 29 Jan 15 @ 8:46 am
locoDogPRO InfinityModeratorMember since 2013
I'm still working on a program that will make Timed FX & Automated sliders, via POI, available to all.
I'm way behind my own scheduled, (I've been ill for a few weeks)
I've got the "When" & "How long" sorted, next is the slider sweeps, which I've had working but a recent script addition (custom_button variations,) has changed the way it will be written.
This right now is no big deal, it just means easier typing for me. The more general I can make the scripts the better.
 

Posted Thu 29 Jan 15 @ 9:24 am
Sounds good bro!!

Thanks for the time and explanation 👌
 

Posted Thu 29 Jan 15 @ 9:57 am


(Old topics and forums are automatically closed)