illus-trator script
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.