• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Indesig and changing colors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Indesig and changing colors
      • From: Stan Cleveland <email@hidden>
    • Re: Indesig and changing colors
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: spurious timeout on nth Apple event on Snow Leopard
  • Next by Date: QuarkXPress 7.5 and Box Bounds Taking TOO LONG
  • Previous by thread: Re: spurious timeout on nth Apple event on Snow Leopard
  • Next by thread: Re: Indesig and changing colors
  • Index(es):
    • Date
    • Thread