I’m trying to change the color of every text character in a document that has it’s fill color set to registration.
So far, I"m getting an error message that says Can’t set <> of {“V”, “o”, “r”, “t” “e”, “c”, “.”} to “Black”
So, it appears to be recognizing the characters that are in Registration" color. It just won’t change those characters to black.
on open of droppedfiles
repeat with afile in droppedfiles
tell application "Adobe InDesign CC 2014"
tell document 1
--Changing all registration text to black
set registrationSwatch to swatch "Registration"
set registrationCharacters to (every character of every word of every story whose fill color is registrationSwatch)
tell registrationCharacters
set fill color to "Black"
end tell
end tell
end tell
end repeat
end open
AppleScript: AppleScript 2.2.1
Browser: Safari 537.78.2
Operating System: Mac OS X (10.7)