Re: Duplicating Items In Illustrator 10 (OS X)
Re: Duplicating Items In Illustrator 10 (OS X)
- Subject: Re: Duplicating Items In Illustrator 10 (OS X)
- From: Nigel Smith <email@hidden>
- Date: Wed, 04 Jun 2003 13:32:22 +0100
On 4/6/03 9:43, "Rob Stott" <email@hidden> wrote:
>
Hi,
>
>
I wonder if anyone can help me with an embarassingly simple problem?
>
I'm trying to DUPLICATE an object, a certain distance horizontally in
>
Illustrator. ie. I have one path item which I want to duplicate to
>
leave me with two path items, a certain distance apart.
A quick test suggests the following:
-----
tell application "Adobe Illustrator 10"
tell front document
tell layer 1
set myObject to duplicate path item 1 to layer 1
translate myObject delta x 100
end tell
end tell
end tell
-----
But I'm not much of an Illustrator user, so this may not be exactly what you
want...
Note that the supposedly optional "location" parameter of "duplicate" seems
to require at least a layer -- since you have to use it, you may be able to
save time by pumping all the positional info into the "location" parameter
and missing out the translate step altogether.
HTH,
Nigel
_______________________________________________
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.