Search code examples
photoshoplayerphotoshop-script

How to create new canvas at photoshop and apply a layer by layer name?


How to create new canvas at Photoshop and apply a layer by layer name ?

So simple what i want is

Create a new canvas certain size such as 150x40
Apply a layer to that canvas. Select layer by its name

How can i do that these 2 simple things with Photoshop scripting

CS6


Solution

  • Photoshop Javascript Reference

    I believe you're looking for documents.add() and Layers.getByName().