Have an account? Sign in
"*" indicates required fields
You agree that CreativePro Network may send you emails, including the newsletter selections above. You can unsubscribe at any time.
By signing in, you agree to our Terms of Use and acknowledge our Privacy Notice.
New user? Create an account
By signing in, you agree to our Terms of Use and acknowledge our Privacy Notice.
I was under the impression that the default [Black] always overprints, but in this kind of layout, if the bitmap placed in the K layer, with [Black] fill, is not set to overprint, it knocks out the images below it with Y, M and C fills (fills of Y and M also set to overprint). So here is the corrected script:
tell application “Adobe InDesign CC 2017”
tell document 1
try
set theImages to all graphics of layer “C”
repeat with thisImage in theImages
set the properties of thisImage to {fill color:swatch “C=100 M=0 Y=0 K=0”}
end repeat
end try
try
set theImages to all graphics of layer “M”
repeat with thisImage in theImages
set the properties of thisImage to {fill color:swatch “C=0 M=100 Y=0 K=0”, overprint fill:true}
end repeat
end try
try
set theImages to all graphics of layer “Y”
repeat with thisImage in theImages
set the properties of thisImage to {fill color:swatch “C=0 M=0 Y=100 K=0”, overprint fill:true}
end repeat
end try
try
set theImages to all graphics of layer “K”
repeat with thisImage in theImages
set the properties of thisImage to {overprint fill:true}
end repeat
end try
end tell
end tell
Sipping from here and there I put together this one (in AppleScript), in case someone ever finds it useful:
tell application “Adobe InDesign CC 2017”
tell document 1
try
set theImages to all graphics of layer “C”
repeat with thisImage in theImages
set the properties of thisImage to {fill color:swatch “C=100 M=0 Y=0 K=0”}
end repeat
end try
try
set theImages to all graphics of layer “M”
repeat with thisImage in theImages
set the properties of thisImage to {fill color:swatch “C=0 M=100 Y=0 K=0”, overprint fill:true}
end repeat
end try
try
set theImages to all graphics of layer “Y”
repeat with thisImage in theImages
set the properties of thisImage to {fill color:swatch “C=0 M=0 Y=100 K=0”, overprint fill:true}
end repeat
end try
end tell
end tell
This site uses cookies, but not the kind you eat. We use cookies to remember log in details, provide secure log in, improve site functionality, and deliver personalized content. By continuing to browse the site, you accept cookies.