Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Script adding an expression

  • Script adding an expression

    Posted by Jesse Gonzalez on July 26, 2017 at 2:59 am

    I’m new to scripting and I wanted to create a script to add an expression to a layer
    the expression is supposed to link a propery to an expression controler, or in my case I’m using a pseudo effect.
    I did some research here in the forums but I haven’t been able to make it work.
    The problem seems to be that the names inside the parentheses (“name”) are causing problems when they are inside more quotes “” like this
    “(“name”)(“name”)”
    Is there a way to get around that?

    comp("Comp 1").layer("Color Controls").effect("Liquid Color")("Color Top")

    Andrei Popa replied 8 years, 9 months ago 2 Members · 1 Reply
  • 1 Reply
  • Andrei Popa

    July 27, 2017 at 8:10 am

    I use ‘. Something like ‘(“name”)(“name”)’.

    Andrei

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