Re: InDesign CS4 Script Question
Re: InDesign CS4 Script Question
- Subject: Re: InDesign CS4 Script Question
- From: Stan Cleveland <email@hidden>
- Date: Wed, 15 Sep 2010 15:53:43 -0700
On Sep 14, 2010, at 11:25 AM, Rosemary Cantrell wrote:
> I'm in InDesign CS4 and need to search the document for anywhere the
> specific spot color swatch "IMPRINT" is used and set whatever is
> assigned that color the attribute to overprint both fill and stroke
> (if used).
>
> I'm buried at the moment so it's difficult to for me to do my normal
> trial and error script writing. (I'm pretty low on the "get it" scale
> for scripting).
Hi Rosie,
Give this a try:
tell application "Adobe InDesign CS4"
set clr to swatch "IMPRINT" of document 1
tell document 1
tell (page items whose fill color is clr)
set properties to {overprint fill:true, overprint stroke:true}
end tell
tell (text of stories whose fill color is clr)
set properties to {overprint fill:true, overprint stroke:true}
end tell
end tell
end tell
I've not done much testing, but predict that it will error if nothing is filled with "IMPRINT".
HTH,
Stan C.
_______________________________________________
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