Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Can script (.jsxbin) do something by itself?

  • Can script (.jsxbin) do something by itself?

    Posted by Andrew Orlow on September 6, 2016 at 2:39 pm

    Hi!
    I have some programming background, but know nothing about AE scripting (aside in-app scripting). Please advice what should I do.
    I need to develop kingda script or plugin that would take some data from layer’s expression (a custom variable value) and do something with it. It must happen in realtime, while scrabbing timeline, playing or rendering, script also must be able to store recieved values time independedly. Is this achievable with scripts or sould I dive into plugin development? If so, can you advice an easy learning path?
    Will be greateful for your help, thanks!

    Miguel De mendoza replied 9 years, 8 months ago 3 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    September 6, 2016 at 6:41 pm

    The realtime requirement rules out scripting, so you’re probably stuck with developing a plugin. The AE SDK makes it as painless as possible, but unfortunately, there is no easy learning path.

    Dan

  • Andrew Orlow

    September 6, 2016 at 9:28 pm

    Thank you!
    Can you seggest is this ever possible via plugin to get a variable from layer expression?
    If yes, following question. I will also need to create a single shared data pool for all the instances of my plugin in the project OR bieng able to get variables not only from the layer the plugin is applied to, but any other one in project. Is this real to implement or not? I’ll be greateful if you can help me deciding is it ever worth to start 🙂

  • Dan Ebberts

    September 6, 2016 at 9:40 pm

    >possible via plugin to get a variable from layer expression?

    Actually no, unless the variable is also the result of the expression (that’s the only value you have access to).

    Dan

  • Andrew Orlow

    September 6, 2016 at 9:47 pm

    Oh no… Actually that was the reason to try to do it 🙁
    Global variables, that SO EASY! It’s A MUST! How could it be left out I can’t understand. Facepalm, facepalm, facepalm 🙁
    Thanks you for saved hours of my work 😐

  • Miguel De mendoza

    September 7, 2016 at 6:19 pm

    When I want to acces specific variables inside an expression, I link those variables to slider controls, or source text from a text layer if I want to Access a string value. By this way you can get an set the variables from outside. This method have one little problem: you have a limitation of variable types, you can get numbers, points, booleans, colors, layers and strings directly. To get complex structures you can create those slider/layer structues by script on the fly(no real time), and use a lot of imagination. Depends on your time and your needs.

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