• 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
Re: Illustrator Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Illustrator Scripting
      • From: Simon Topliss <email@hidden>
References: 
 >Illustrator Scripting (From: Steven Valenti <email@hidden>)

  • Prev by Date: Re: Folder Action to create Archive
  • Next by Date: Re: Illustrator Scripting
  • Previous by thread: Illustrator Scripting
  • Next by thread: Re: Illustrator Scripting
  • Index(es):
    • Date
    • Thread