-
Can I extract Adobe Photoshops Layer Text and Change in After Effect Script
Background: So I have an After Effect File which has some TextLayer directly in After Effect and there some AVLayers which are imported from a Photoshop File as Composition. Now I can see the texts as AVLayer I made in my Photoshop File.
Requirement: I want to write a script that can change all the Texts which are shown in After Effects including the Text of Photoshop Layers.
What I’ve done so Far:
I wrote a .jsx script that can change the value of After Effect texts via ‘Source Text’ property but I can’t find a way to change the texts of Photoshop Layers. Is it actually possible?Out of the Box attempt which is also kind of failed but overall works if layer Names of photoshop are Unique:
Meanwhile, I adopted another solution so I made a separate .jsx script for photoshop and can see and change the text values directly via Photoshop but there is no way I can relate which Layer of After Effect is attached with which layer of Photoshop. At Max, I could see the photoshop file path in AfterEffect Script via layer.source.file.fsName and layer.source.name Which gives me the name of Photoshop’s Layer Label but there can be multiple layers with the same name in Photoshop. Is there a way to relate the ID of the After Effect Layer with the ID of the Photoshop Layer?I’ve wasted much time looking into it so later I thought it to put it over here and get some help. (Thanks a Lot in advance)