Hi folks,
I need more help !
I have a group item on an illustrator page that is filled with ‘Registration’.
I want to change it’s color to a spot swatch that already exists in my swatch palette.
I can use this script to change the group item to “Cyan”:
tell application “Adobe Illustrator”
activate
set openDoc to document 1
set ftClr1 to first group item of openDoc
set ftClr1Paths to path items of ftClr1
repeat with thisPath in ftClr1Paths
set fill color of thisPath to {cyan:100}
end repeat
set textFrames to text frames of ftClr1
repeat with thistext in textFrames
set fill color of every line of thistext to {cyan:100}
end repeat
end tell
But when I want to change it to “PANTONE 485 C” for example - I don’t know how to get it to do it.
Any idea’s ???