🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #1917

JS: Add HSB Layer & Adjust - How?!

#1917
From: Steve_Schacht
Date: Tue, 06 Jul 2004 17:39
8 lines
1358 bytes
I want to automate a saturation adjustment by creating and adjusting a Hue/Saturation layer via JavaScript. I can see that an ArtLayer can be added and then its kind changed to LayerKind.HUESATURATION; but then how do I work with the thing? How do I specify the hsb parameters?

BTW, I find the JS documentation woefully inadequate. I'd like to see a complete object hierarchy with detailed descriptions and examples for each object. And I want hyperlinks from objects to other relevant objects and information. This JS guide is almost useless as a programmer's reference. Sheesh.

Anyway, if anyone knows how to perform this simple task via JS, please let me know.

---
Steve
Technical Details
Message-ID: <3bb4ecd4.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,c854f12a138334c3,start
X-Google-Attributes: gidf5839,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Steve_Schacht@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!news.cambrium.nl!news.cambrium.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.photoshop.scripting
Subject: JS: Add HSB Layer & Adjust - How?!
Message-ID: <3bb4ecd4.-1@webx.la2eafNXanI>
Date: Tue, 6 Jul 2004 10:39:13 -0700
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit