I am trying to figure how to make a script which can search for a specific layer name in the layer palette, layer group and nested layer groups.
I came across the xtools traverse layer function in the sdlib.js which might do the job. How to implement this function was not clear to me.
I would like to ask help from the scripting community to figure out how apply to this function to a script. I am not a programer and have basic javascript knowledge.
thanks in advance