Scripting Adjustment layers

426 views3 repliesLast post: 8/28/2003
Does anyone out there know how ( ie sample code snipet ) to create an adjustment
layer in Adobe Photoshop 7.0.

I've spent a considerable amount of time trying to get this to work. However, at run time,
when I try to change the layer.kind to psCurve an error message is displayed indicating that
the .kind must be normal or layergroup. The documentation seems to imply that it is value
set to the .kind property. But, It seems to refuse it !

Thanks
--
Ken
Kenneth Reed Photography (508) 248-6423
www.kreedphoto.com
65 N Sturbridge Rd
Charlton MA 01507
- Please include email history with all
correspondences -
#1
Right Click. Select Duplicate.
#2
Hi John,

I'm looking for the technique to accomplish via SCRIPT. Such as VBScript or JavaScript.

Maybe I didn't make that clear enough.

You neglected to indicate what to right click on, but I assume you mean a layer in the layer window. BTW,
that creates a duplicate layer, not an adjustment layer.

Thanks Anyways,
Ken

"John H" wrote in message
Right Click. Select Duplicate.
#3
Ken wrote:

Does anyone out there know how ( ie sample code snipet ) to create an adjustment
layer in Adobe Photoshop 7.0.

I've spent a considerable amount of time trying to get this to work. However, at run time,
when I try to change the layer.kind to psCurve an error message is displayed indicating that
the .kind must be normal or layergroup. The documentation seems to imply that it is value
set to the .kind property. But, It seems to refuse it !
Thanks
Have you asked on the Adobe Photoshop Scripting Forum?
http://www.adobeforums.com/cgi-bin/[email protected] @.ef7f2c5 --
Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html
#4