Article View: adobe.photoshop.scripting
Article #288Photoshop CS4 ChangeColorSettings
From: Sheldon_Zacharias
Date: Tue, 24 Feb 2009 13:01
Date: Tue, 24 Feb 2009 13:01
14 lines
1356 bytes
1356 bytes
I am writing a VB script for Photoshop CS4 and I am trying to change the default color settings from within the script. However it keeps failing with the following message: "General Photoshop error occurred. This functionality may not be available in this version of Photoshop. - <no additional information available>" I am using the Application.ChangeColorSettings method passing in the Path of a settings file has anyone had any luck using this method? Here is the sample code I am using: objPhotoshopApp = New Photoshop.Application if objPhotoshopApp.ColorSettings <> "Friesens_Yearbook_Custom_Color_Settings" then objPhotoshopApp.ChangeColorSettings(C:\Friesens_Yearbook_Custom_Color_Settings.csf") end if It always fails on the ChangeColorSettings. Any help would be greatly appreciated.
Technical Details
Message-ID:
<59b8092f.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f5839,354dff9be43a7760,start X-Google-Attributes: gidf5839,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Sheldon_Zacharias@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.photoshop.scripting Subject: Photoshop CS4 ChangeColorSettings Message-ID: <59b8092f.-1@webcrossing.la2eafNXanI> Date: Tue, 24 Feb 2009 05:01:31 -0800 Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit