Scripting Adjustment layers

K
Posted By
Ken
Aug 27, 2003
Views
426
Replies
3
Status
Closed
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 –

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

JH
John H
Aug 28, 2003
Right Click. Select Duplicate.
K
Ken
Aug 28, 2003
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.
E
edjh
Aug 28, 2003
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/webx?13@251.Llsia27H8tq.0 @.ef7f2c5
Comic book sketches and artwork:
http://www.sover.net/~hannigan/edjh.html

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections