Copy link to clipboard
Copied
how to change text direction of text layer in ae script?
 
Copy link to clipboard
Copied
There doesn't appear to be a way to do this with scripting currently. You haven't said why you want to do this but in my experience it's been more important what Text > Text Engine preference is set when a text layer is created. i.e. you need it set to Middle Eastern if you want Arabic text added to a text layer to display correctly.
Unfortunately while that pref can be changed through scripting, it doesn't seem to honour the result when set through scripting, which is an issue we discussed here:
In that case, the only solution I can think of is to save a project with some text layers already created using each of the difference text engines, then import that project and copyToComp to get the required layer type into your comp.
There is a lot of stuff regarding text support in scripting that could do with improvement so I'd encourage you to file feature requests:
https://adobe-video.uservoice.com/forums/911311-after-effects
Copy link to clipboard
Copied
Thank you for your answer