Skip to main content
Participant
September 19, 2022
Question

ae expression

  • September 19, 2022
  • 3 replies
  • 838 views

Hi!

 

I am trying to link external text with expression, but can't find solution

 

please see atach

 

thanks

This topic has been closed for replies.

3 replies

OussK
Community Expert
Community Expert
September 20, 2022

why you don't try to use a JSON or CSV file, as you can import those files easily inside your project and at the same time you can still update them outside AE

Mylenium
Legend
September 20, 2022

Format the data properly as CSV/ TSV/ XML and use the data driven animation options.

 

https://helpx.adobe.com/after-effects/using/data-driven-animations.html

 

Mylenium

Dan Ebberts
Community Expert
Community Expert
September 20, 2022

With a quick test, it appears that the $.evalFile() hack hasn't worked since CC 2018. Have you used it successfully with a newer version?

Participant
September 22, 2022

hi!

I am trying to link external text into after effects

it seems it works, but is this correct?

I mean does this code works with different after effects version?

 

thanks

Dan Ebberts
Community Expert
Community Expert
September 22, 2022

I am using windows 10, After Effects 18.2

so I have to use csv with this code inside?

 

thanks 


No, it's a completely differnt approach, where your data document doesn't have to be executable JavaScript as it does with the method you're using. You import your data file directly into the AE project panel (and even add it as a layer to the timeline, where you can pickwhip to the individual data elements). You should read the AE help section on "Work with Data-driven animation".