Hi all I have a problem, I do this script to convert a gray scale chanel in to a spot color channel but, i can’t specify the color chanel like a Pantone Guide Color.
Please help me
tell application "Adobe Photoshop 7.0"
activate
open file ("hd:cromos.psd")
set myAlphaChannel to make new channel in current document �
with properties {kind:spot color channel, channel color:CMYK color, cyan:0, magenta:0, yellow:0, black:100}
end tell
I don’t think you can use AppleScript to specify a custom color (Pantone, TruMatch, etc.) for a spot color channel. For a CMYK color, however, your code is close but the color has to be specified as a wholly contained record:
tell application "Adobe Photoshop 7.0"
set the_props to {name:"myAlphaChannel", kind:spot color channel, channel color:{class:CMYK color, cyan:0, magenta:0, yellow:0, black:100}, opacity:50.0, visible:true}
set myAlphaChannel to make new channel in current document with properties the_props
end tell