🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.photoshop.scripting
Article #291

Re: Photoshop CS4 ChangeColorSettings

#291
From: Sheldon_Zacharias
Date: Tue, 24 Feb 2009 13:28
8 lines
1121 bytes
Thanks Michael, you pointed me in the right direction. I had tried providing just one of the two parameters as the second error message indicated, but I just realized that it needs both parameters, one just has to be set to nothing. The following code appears to work.

objPhotoshopApp = New Photoshop.Application
if objPhotoshopApp.ColorSettings <> "Friesens_Yearbook_Custom_Color_Settings" then
   objPhotoshopApp.ChangeColorSettings(Nothing, "C:\Friesens_Yearbook_Custom_Color_Settings.csf")
end if

Thanks for you help.
Technical Details
Message-ID: <59b8092f.2@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b8092f.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5839,354dff9be43a7760
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: Re: Photoshop CS4 ChangeColorSettings
Message-ID: <59b8092f.2@webcrossing.la2eafNXanI>
Date: Tue, 24 Feb 2009 05:28:04 -0800
References: <59b8092f.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit