find words in the expression box
Hi. I have an array ["app", "project"] and I want to find any of those words in a string "app.project.item(2).layer("Dark Gray Solid 3").property("ADBE Transform Group").property("ADBE Rotate Z")"
I found this
So I found the split function to split a string in words and make an arry, that way I can just search for a match and in return I get the curLayer. I've use an
This is my script: