Question
Align Text Left Scripting
- March 18, 2011
- 1 reply
- 1846 views
I’m new to scripting with After Effects and I’m having troubles doing the simplest thing. I got most of my program to work just fine, however, when I used the built-in text replace function it changes my text from left aligned to center aligned. I need to set my text layer to left align again after the text it changed.
Can anyone please help me? I know this is very basic, I just can’t find anything in the scripting guide that will help.
Here is the replace function:
replaceTextInLayer(app.project.item(99).layer(8), "Original", "New")
I just want to left align this text layer.
app.project.item(99).layer(8)
Thanks in advance for your help!
