ae expression

New Here ,
Sep 19, 2022 Sep 19, 2022

Copy link to clipboard

Copied

Hi!

 

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

 

please see atach

 

thanks

TOPICS
Expressions

Views

86

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 19, 2022 Sep 19, 2022

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 20, 2022 Sep 20, 2022

Copy link to clipboard

Copied

No I did' not?

so I have to replace with what?

 

thanks

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 22, 2022 Sep 22, 2022

Copy link to clipboard

Copied

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?

 

thanksQARJ2v.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 22, 2022 Sep 22, 2022

Copy link to clipboard

Copied

I'm surprised--that does seem to work in the latest version of AE. It appears that the "C:/" part of the path format is critical (at least on Windows--not sure about Mac). Using the CSV or JSON format for data might be a more future-proof and robust way to go though.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 22, 2022 Sep 22, 2022

Copy link to clipboard

Copied

I am using windows 10, After Effects 18.2

so I have to use csv with this code inside?

 

thanks 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 22, 2022 Sep 22, 2022

Copy link to clipboard

Copied

LATEST

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".

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 20, 2022 Sep 20, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 20, 2022 Sep 20, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines