• 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
illus-trator script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

illus-trator script


  • Subject: illus-trator script
  • From: John McAdams <email@hidden>
  • Date: Thu, 18 Apr 2002 20:56:41 -0400

Hi Scripters,

I'm hitting a wall here. After figuring out how to select all items of the same color I can't figure out how to change their color!

Any advice is much appreciated.

tell application "Adobe Illustrator 10"
set cPant to every spot of document 1 whose name ends with "cv" or name ends with "cvs" or name ends with "cvc"
set x to item 1 of cPant
set selected of (every path item of document 1 whose fill color is {class:spot color info, spot:x, tint:100.0}) to true
set spot of fill color of selection to spot "PANTONE 202 U" of document 1--error here, some data was the wrong type
end tell

jmc
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: illus-trator script
      • From: Peter Matthias Noordzij <email@hidden>
    • Re: illus-trator script
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Calling script libraries
  • Next by Date: Mount volume via IP
  • Previous by thread: AppleTalk Mount volume in classic's Script Editor.
  • Next by thread: Re: illus-trator script
  • Index(es):
    • Date
    • Thread