I am currently learning JavaScript for Photoshop, but have stumbled on the simplest of requirements - I need to remove a layer from all documents if that layer is present.
For the purpose of the example, the layer is named 'BASE' - and I need to identify whether there is a layer named BASE in the document and then if there is remove it.
Any help would be greatly appreciated.