🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #389

Save a curves preset via a script

#389
From: Phibbus
Date: Tue, 03 Mar 2009 18:03
5 lines
1350 bytes
I am attempting to create a script which will save a settings preset .acv file for a specific curves layer (consistently named for all files) for each file in a specific location, with each .acv having the same name as the document file itself.

While the layer selection, file-naming, etc., are easily accomplished, I can find no Photoshop action or command which will actually save the preset .acv. When trying to record such action with the script listener, the code returned is identical to that for loading a preset of the same name (which is what is accomplished when the script is run).

Does anyone know of a way to save presets via automation? (Sorry if this covers old ground, but I was unable to turn up any discussion, one way or another, as to whether this is possible.)
Technical Details
Message-ID: <59b81a29.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,fbf81dcb10c84f7c,start
X-Google-Attributes: gidf5839,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Phibbus@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.photoshop.scripting
Subject: Save a curves preset via a script
Message-ID: <59b81a29.-1@webcrossing.la2eafNXanI>
Date: Tue, 3 Mar 2009 10:03:19 -0800
Lines: 14
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit