I am writing a VB script for Photoshop CS4 and I am trying to change the default color settings from within the script. <br /><br />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>"<br /><br />I am using the Application.ChangeColorSettings method passing in the Path of a settings file has anyone had any luck using this method?<br /><br />Here is the sample code I am using:<br /><br />objPhotoshopApp = New Photoshop.Application<br />if objPhotoshopApp.ColorSettings <> "Friesens_Yearbook_Custom_Color_Settings" then<br /> objPhotoshopApp.ChangeColorSettings(C:\Friesens_Yearbook_Custom_Color_Settings.csf")<br />end if<br /><br />It always fails on the ChangeColorSettings. Any help would be greatly appreciated.
↧