ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Workflow related issue with Slider Control

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Søren Storm
Workflow related issue with Slider Control
on Nov 26, 2018 at 11:13:34 am
Last Edited By Søren Storm on Nov 27, 2018 at 10:10:36 pm

UPDATE: Solved the following, by simply (facepalm) making a null, with multiple sliders, that is never hidden. I simply put it in the top of my layers, so it´s easy to find...


Hi all
So I´m animating this fake user interface, and have rigged all my "programs" to sliders in null layers, so that I can easily control if windows or programs are visible or not. Heres the thing:

Can I somehow get shortcuts to selected slider effects in a UI list? That is - a permanent box in AE, containing all my slider controls? I would like to get more into scripting, but I am unsure if I am able to set a slider value from a button press.

Right now windows are closed, (scale=0, opacity=0) when my null slider control is 0, and scales to 100, and has opacity 100 when null slider is 100.

If a plugin exist, I would also be grateful for a point in that direction. I have experimented just a little bit with k-bar, but can't figure out an expression toggling a slider value.

optimally something like this:

if (button toggle):
thisComp.layer("Controller_swypoo").effect("Slider Control")("Slider") = 100;

if (button untoggle):
thisComp.layer("Controller_swypoo").effect("Slider Control")("Slider") = 0;

Hope it makes sense. ☺

Best regards from
Søren

UPDATE:
Found this:
slider.effect("Slider Control").property("Slider").setValue(100);

UPDATE 2:
Seems like it only works in scripts and not expressions?



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]