Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Linking CSV value to slider control

  • Linking CSV value to slider control

    Posted by Miles Wert on January 3, 2025 at 4:59 pm

    Original expression linking CSV to text layer:

    thisComp.layer(“Untitled spreadsheet – Sheet1.csv”)(“Data”)(“Outline”)(“Sales”)(“Sales 1”)

    I’m trying to link the value “1” (from “Sales 1”) to a slider control to automatically switch between Sales 0, Sales 1, Sales 2, Sales 3 and Sales 4.

    I’m highlighting the number value in (“Sales 1”) and pickwhipping it to the slider control value. What I’m trying but it gives me an error:

    thisComp.layer(“Untitled spreadsheet – Sheet1.csv”)(“Data”)(“Outline”)(“Sales”)(“Sales effect(“Slider Control”)(“Slider”)”)

    Error it gives me:

    Error: SyntaxError: missing ) after argument list.

    Any ideas?

    Miles Wert replied 3 weeks ago 1 Member · 1 Reply
  • 1 Reply
  • Miles Wert

    January 3, 2025 at 5:41 pm

    I’ve found my solution:

    const slider = effect(“Slider Control”)(“Slider”)

    footage(“Untitled spreadsheet – Sheet1.csv”).dataValue([2, Math.round(slider)]);

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