Highlighted

Bake data values into a composition

New Here ,
Jul 21, 2020

Copy link to clipboard

Copied

Hi all,

 

I have a text CSV file and each entry populates the sourceText of one text layer in my comp. I've used the expression:

footage("SourceWords.txt").dataValue([0,index])

to ingest each word from my list into a corresponding text layer.

 

Is there a way I can now fix or 'bake in' these text values into my layers' SourceTexts, so that they're no longer dependent on the external CSV file?

 

Alternatively - is there a better way I could populate my text layers without using dataValue()?

 

Thanks in advance,

Nick
TOPICS
Expressions, How to, Scripting

Views

47

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

Bake data values into a composition

New Here ,
Jul 21, 2020

Copy link to clipboard

Copied

Hi all,

 

I have a text CSV file and each entry populates the sourceText of one text layer in my comp. I've used the expression:

footage("SourceWords.txt").dataValue([0,index])

to ingest each word from my list into a corresponding text layer.

 

Is there a way I can now fix or 'bake in' these text values into my layers' SourceTexts, so that they're no longer dependent on the external CSV file?

 

Alternatively - is there a better way I could populate my text layers without using dataValue()?

 

Thanks in advance,

Nick
TOPICS
Expressions, How to, Scripting

Views

48

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
Jul 21, 2020 0
Adobe Community Professional ,
Jul 21, 2020

Copy link to clipboard

Copied

You could select the source text property and then choose in the Ae menu

Animation->Keyframe Assistant->Convert Expression into Keyframes

It is not ideal, since this will give you a keyframe on each frame, but it should work. With a second click, you can also click on the keyframe stopwatch to delete all keyframes (since all will have the identical text).

You would need to do this for each text layer individually, however.

 

The tool Easy Bake can convert all expressions of your project into keyframes at once and also minimize the keyframes. Not 100% sure if it supports texts, but it might be worth to try it

https://aescripts.com/easy-bake/

 

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
Reply
Loading...
Jul 21, 2020 0
Adobe Community Professional ,
Jul 21, 2020

Copy link to clipboard

Copied

And if you look for alternative workflows to replace texts using spreadsheets, a very easy solution is the tool Text2Spreadsheet (which I developped myself)

https://aescripts.com/text2spreadsheet/

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
Reply
Loading...
Jul 21, 2020 0
nickedit LATEST
New Here ,
Jul 21, 2020

Copy link to clipboard

Copied

Actually I already have Text2Spreadsheet and it has saved me days of work before! Thanks very much for the quick response and the quick workflow tools 🙂

Nick

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
Reply
Loading...
Jul 21, 2020 1