VDJPedia



 Use a combination of buttons to trigger two different actions

Last edit by aciuffi, Professional edition user on Sun 18 Oct 15 @ 10:42 pm

To use a combination of buttons to trigger two different actions (I.e: SHIFT button):

VDJscript for the button that will act as the modifier, i.e: SHIFT:

set '$shift' 1 while_pressed


Button to perform two different actions depending on the state of SHIFT button, e.g: FX:

var '$shift' ? effect 'backspin' active : effect 'Flanger' active


This causes the button to trigger flanger on its own, and backspin if SHIFT+button is pressed.


Return to VDJscript examples...