I want to overprint a PMS colors using Applescript. I though if I changed the property of the selected items fill color from (fill overprint:false) to (fill overprint:true) it would work. This doesn't seem to change a thing.
This is the script I am currently using:
script ChangeOverprint
tell application "Adobe Illustrator"
local docRef
set docRef to current document
tell docRef
set fileName to name of docRef
log fileName
set pathItemProperties2 to properties of (path item 2 of layer 1 of docRef)
set fill overprint of pathItemProperties2 to true
log pathItemProperties2
set pathItemProperties3 to properties of (path item 3 of layer 1 of docRef)
log pathItemProperties3
end tell
end tell
end script
-- to test
run ChangeOverprint
This is the picture of a simple document I created. The elipse has fill overprint:true. The polygon has filr overprint:false. The original value for the property fill overprint was false. I changed it in the script to true. Which the log shows it changed.
Thanks
Rich