Argh! Okay, I've got a very simple script whose purpose in life is to shut off all ligatures in all stories. Literally 3 lines long.
tell application "Adobe Illustrator"
tell front document
set ligature of every character of every story to false
set contextual ligature of every character of every story to false
set discretionary ligature of every character of every story to false
end tell
end tell
Now here's the catch. We have a bunch of AI files from outside artists, and I'm not sue what they did our how they did it but when the script is run on their files, all text goes through an automatic RGB to CMYK conversion *even though it was already CMYK to begin with*!
So all the 100% black text suddenly becomes "rich black" text with 75C 68M 67Y 90K. (It still shows as CMYK in the GUI, but get properties of the text now returns 0R 0G 0B. Get properties directly before running the script returns 0C 0M 0Y 100K)
This is, of course, seriously bad for final output...
Anybody have some idea what might be happening here? Or failing that, a sample script to let me change the color model of every character of every story back to CMYK?
Thanks in advance,
Eric.