Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Search a layer by a part of its name

$
0
0

Hello community!

I'm working on a script and at some point it has to get me a layer according to some parts of the layer's name.

I know the way to find the exact name with the line:


    layers.byName("name")

 

But in case I have a layer with a name like "target 1 - control" , how do I find the layer assunimg the name has the words "target" and "control" ?

 

TIA


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>