Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Workflow related issue with Slider Control

  • Workflow related issue with Slider Control

    Posted by Søren Storm on November 26, 2018 at 11:13 am

    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?

    Søren Storm replied 7 years, 5 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy