Re: Illustrator Scripting
Re: Illustrator Scripting
- Subject: Re: Illustrator Scripting
- From: Simon Topliss <email@hidden>
- Date: Fri, 11 Mar 2005 18:51:14 +0000
On 11 Mar 2005, at 6:29 pm, Steven Valenti wrote:
I'm trying to grab a compound path item with a spot color of "Pantone
871 C" and move this item to the back. How can I write this so it will
only move the compound path that has this color fill property?
Compound path items don't have a fill color, only path items do. So you
need to find path items of compound path items whose spot color is
"Pantone 871 C", like this.
tell application "Illustrator CS"
set x to path items of compound path items of layer 1 of document 1
whose name of spot of fill color of it is "PANTONE 871 C"
repeat with i from 1 to x's length
move (container of item i of x) to end of layer 1 of document 1
end repeat
end tell
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden