Indesig and changing colors
Indesig and changing colors
- Subject: Indesig and changing colors
- From: Michael Slomski <email@hidden>
- Date: Wed, 07 Oct 2009 15:04:04 +0200
- Thread-topic: Indesig and changing colors
Title: Indesig and changing colors
Hello,
i have to change a certain color to an other color. The search color is the same on each page but the new color will change for every page..
This script will compile fine but Indesign CS3 throws an error:
"„Adobe InDesign CS4“ hat einen Fehler erhalten: „fill color of every paragraph of every story of page 1 of document 1 whose fill color = color id 140331 of document \"Knorr_Kalender_2010_mRS.indd\" of application \"Adobe InDesign CS4\"“ kann nicht als „color id 15696 of document \"Knorr_Kalender_2010_mRS.indd\"“ gesetzt werden."
tell application "Adobe InDesign CS4"
tell document 1
set searchColor to color "PANTONE 266 C"
set newColor to color "01 KuE 0-70-95-0"
set fill color of every paragraph of every story of page 1 whose fill color is searchColor to newColor
end tell
end tell
Any helpful hints?
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden