Article View: adobe.photoshop.scripting
Article #1932JS: Hue/Saturation Adjustment Layer - Simplified
From: Steve_Schacht
Date: Thu, 08 Jul 2004 18:15
Date: Thu, 08 Jul 2004 18:15
10 lines
1393 bytes
1393 bytes
I've written a function to simplify the creation of a Hue/Saturation adjustment layer using JavaScript. It provides full control over all the same settings that can be specified in Photoshop's Hue/Saturation dialog box - well, except for the Colorize option which just defaults to false. You can download an archive of the script and demo from here: <http://www.adeptool.com/prv/HueSat.zip> The scripts are reasonably well documented with comments. To run the demo, put both scripts (HueSatDemo.js and HueSat.js) in the same folder anywhere on your system. Then open an image in Photoshop and choose "File -> Scripts -> Browse". Select the HueSatDemo.js file and the script will run. It was tested on a Mac, so if any Windows users could try it out and report back, it would be appreciated. --- Steve
Technical Details
Message-ID:
<3bb4f644.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,966b9e52d442aee,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!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.photoshop.scripting Subject: JS: Hue/Saturation Adjustment Layer - Simplified Message-ID: <3bb4f644.-1@webx.la2eafNXanI> Date: Thu, 8 Jul 2004 11:15:44 -0700 Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit