Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

adjustment layer: solid fill

$
0
0

Hi I'm looking for a way to create an adjustment layer kind :"solid fill"  with applescipt.

It should have a fill with an Lab color (eg; L= 20, a=10, b=13)

 

Code:

 

   tellapplication "Adobe Photoshop CS3"

       tellcurrent document

          setnewLayer to makeart layerwith properties {name:"MyInkName", kind:solid fill layer, color:{class:Lab color, value_L:20, value_a:10, value_b:13}}

         endtell

  endtell

 

 

error:

 

You can only change the layer's kind to text or normal.

 

Thanks,

 

Koen


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>