I need script to select the the specific layer if that is empty also
I need a Script for select the xyz layer, if that layer is empty also, I just wanted to select that particular layer, after select that layer I want to move that layer to top and to make sure that layer has been selected when that script ended. if in case that xyz layer not available in artwork, i want to create the xyz layer and to keep that on top of all layers, and to select that layer when script ended. Can anybody help me to prepare this script.
