• 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: Duplicating Items In Illustrator 10 (OS X)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Duplicating Items In Illustrator 10 (OS X)
      • From: Rob Stott <email@hidden>
References: 
 >Duplicating Items In Illustrator 10 (OS X) (From: Rob Stott <email@hidden>)

  • Prev by Date: Scripting Lotus Notes
  • Next by Date: RE: Duplicating Items In Illustrator 10 (OS X)
  • Previous by thread: Duplicating Items In Illustrator 10 (OS X)
  • Next by thread: Re: Duplicating Items In Illustrator 10 (OS X)
  • Index(es):
    • Date
    • Thread