Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Photoshop CS4 ChangeColorSettings

$
0
0
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.

Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>