Delete Multiple Layers via Script
This should be fairly easy, I have tried to make one myself, but haven't gotten it right yet.
What I need to accomplish:
Have a script delete Layers by name, even if locked / hidden / have sublayers with art.
Example Layers:
Anchor Point
Center guides
Original
Also something not case sensitive would be preferable.
I started by just repeating this "app.activeDocument.layers.getByName('Anchor Point').remove();" with the different layers typed in, but it errors out when it tries to remove a layer that's not there in the specific file.
