Hallo,
Ich hab' hier ein Applescript. (Keine Ahnung mehr woher) für CS3,
das CMYK zu Graustufen wandeln soll ... Funktioniert bei mir nicht
immer, d.h. nicht alle Farben werden gewandelt ... hmmm
tell application "Adobe InDesign CS3"
tell document 1
repeat with a from 1 to count of every color
try
set space of color a to LAB
set myLab to color value of color a
set myLum to item 1 of myLab
set myKvalue to (100 - myLum) * 1.1
set space of color a to CMYK
set {w, x, y, z} to color value of color a
set color value of color a to {0, 0, 0, myKvalue}
end try
end repeat
--display dialog "All document colors are now CMYK"
end tell
end tell
und hier noch eins das Farben nach CMYK wandelt:
tell application "Adobe InDesign CS3"
tell document 1
repeat with a from 1 to count of every color
try
set space of color a to CMYK
end try
end repeat
display dialog "All document colors are now CMYK"
end tell
end tell
... und eins das Farben nach RGB wandelt:
tell application "Adobe InDesign CS3"
tell document 1
repeat with a from 1 to count of every color
try
set space of color a to RGB
end try
end repeat
display dialog "All document colors are now RGB"
end tell
end tell
Gruß,
Sacha