plz copy my text to any notepad file for the correct text orientation.. you may have to select all text and press Left CTRL+SHIFT
Look, scripting isn't my thing actually.. but I don't think what you wanna do is possible. did you seach the scripting help file ?.. I searched it .. to read characters from a file you use
But this returns only strings, I don't know know if you can replace "chars" with something like "nums".. but searched for "Read number" and got no clue.
I also searched for functions that control filters in the scripting help, searched for the word "filter" and "plugin" and also got no result .
To know why I said at first that I don't think it's possible through scripting plz read the following lines I copied from scripting help :
Scripting does not access individual properties of a layer, and thus it does not overlap with the functionality of expressions in After Effects, although it is based on a similar programmatical model. Scripting takes control of more global areas of After Effects, such as the application itself, the Project window, and the Render Queue, from which expressions can in some cases receive data but to which expressions cannot make changes.
I guess you should go for expressions, but I'm not sure if expressions can read from text files .
If you got to know anything please tell me.