FORUMS: list search recent posts

Extendscript parse unicode characters into text layer

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Peter Esel
Extendscript parse unicode characters into text layer
on Feb 28, 2016 at 5:53:42 pm

I'm trying to write a script that parses an array of characters into subsequent keyframes of a text layer in After Effects. Everything works. Only I'd like to change the function to read unicode instead of normal text.

Here's my Code for the Script:
var textLayer = currentComp.layers.addText("test"); = "score";

//Chose the txt with the array
var myFile = File.openDialog("Navigate to keyframe file.");"r");

var myLine = myFile.readln();
var keyValues = myLine.split(",")

var prop1 = app.project.item(1).layer(1).property("ADBE Text Properties").property("ADBE Text Document");

var arrayLength = keyValues.length;

//Keyframe Loop

for(var i=0; i<arrayLength; i++){

And this is the String that i'm trying to parse:
These are all unicode characters.

Thanks a lot!

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved