Page 1 of 1

WD custom script button FX Collection

PostPosted: Wed Aug 26, 2015 1:55 am
by gregmaple
ScreenClip.png
How do I make a WD button select something from the drop-down in an Effect on a layer? Ultimately Im trying to make the button select, an Effect in an Fx collection and then change the parameters in that effect.
I've been trying all day to figure this out. I know DeviceSetParam,1,1,Invert|Mix,65535 will toggle my mix all the way up, but I cant get the FX collection to SELECT 017 Invert and then also bring up the mix. Ive been trying all kinds of combinations.
DeviceSetParam,1,1,Server FX 16bit 9Ch|FX Name|017 Invert|Mix,65535
DeviceSetParam,1,1,Server FX 16bit 9 Ch|FX Name|017 Invert|Mix,65535
DeviceSetParam,1,1,FX Name|017 Invert|Mix,65535
DeviceSetParam,1,1,Server FX 16bit 9Ch|017 Invert|Mix,65535
DeviceSetParam,1,1,Server FX 16bit 9 Ch|017 Invert|Mix,65535
DeviceSetParam,1,1,Server FX 16bit 9Ch|Invert|Mix,65535
DeviceSetParam,1,1,Server FX 16bit 9 Ch|Invert|Mix,65535
DeviceSetParam,1,1,Server FX 16bit 9Ch|017 Invert|Mix,65535
And scouring this forum and the help menu and im at a loss.
I'm attaching a screen shot of what im looking at if it helps.
Thanks!

Re: WD custom script button FX Collection

PostPosted: Wed Aug 26, 2015 2:54 am
by malkuth23
That is 2 different commands.
DeviceSetParam,1,1,Server FX 16bit 9Ch|FX1,65535
DeviceSetParam,1,1,Server FX 16bit 9Ch|FX Name,017

I am not sure about the second command. You might have to write the name of the effect in full.

Re: WD custom script button FX Collection

PostPosted: Wed Aug 26, 2015 5:28 am
by gregmaple
The magic last part ->
DeviceSetParam,1,1,Server FX 16bit 9Ch|FX Name,017
DeviceSetParam,1,1,Server FX 16bit 9Ch|FX 1,65535

It works in either order, i'm assuming because the button fires both scripts at the same time.

Thanks for the help malkuth!

Re: WD custom script button FX Collection

PostPosted: Wed Aug 26, 2015 10:14 am
by Dennis Kuypers
Hey,

you can leave out the leading 0. It is only in the list for readability. All parameters in PB are numeric. Even the Playback controls. It's just that the Widget automatically converts the "Play" "Loop" etc. into their numeric equivalents.

Regards
Dennis