Re: Illustrator Newbie question 2
Re: Illustrator Newbie question 2
- Subject: Re: Illustrator Newbie question 2
- From: Andy Bachorski <email@hidden>
- Date: Thu, 13 Mar 2003 16:57:38 -0800
on 13 Mar 2003 14:46:51, Mark Settle <email@hidden> wrote:
>
Having sussed the syntax for colouring up text and path objects, is there a
>
way to use fill color on a group? The group is 2 text items and 6 tint
>
blocks. Usually, using the manual method, I can select the group, click the
>
spot colour in my swatches and the whole group is recoloured as the spot -
>
retaining the tint values.
>
>
This is what I think should work:
>
>
set the fill color of group item "ColourBlock1" of document 1 to {spot:spot
>
"Big Blue" of document 1}
A slight modification will get it working
set the fill color of page items of group item "ColourBlock1" of document 1
to {spot:spot "Big Blue" of document 1}
The trick here is to operate on the elements contained in the group. The
graphical UI is doing this implicitly when you change the color of a group.
The scripting UI requires you to be a bit more explicit when performing an
operation.
Note: This will only work on the immediate contents of the group. If the
group contains sub-groups, those sub-groups will need to be colored
separately.
andy b
_______________________________________________
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.