• 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: Illustrator 9 Duplicate Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Illustrator 9 Duplicate Command


  • Subject: Re: Illustrator 9 Duplicate Command
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 28 Sep 2001 08:54:24 +1000

On 27/9/01 11:27 PM +1000, Simon Topliss, email@hidden, wrote:

> Does anyone know the correct syntax for the duplicate command in Adobe
> Illustrator 9?
>
> I've tried:
>
> tell application "Adobe Illustrator. 9.0.2"
> set newLayer to duplicate layer 1 of document 1 to end of document 1
> end tell
>
> And plenty of permutations all without success.
>
> The error I receive is:
>
> Adobe Illustrator. 9.0.2 got an error: Scripting component error.

I get the same message. Try:

tell application "Adobe Illustrator. 9.0.2"
tell document 1
set newLayer to make layer at end
duplicate page items of layer 1 to end of newLayer
end tell
end tell

--
Shane Stanley, email@hidden


  • Follow-Ups:
    • Re: Illustrator 9 Duplicate Command
      • From: Simon Topliss <email@hidden>
References: 
 >Illustrator 9 Duplicate Command (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: How can we pass unix file paths to the finder?
  • Next by Date: Re: Time
  • Previous by thread: Illustrator 9 Duplicate Command
  • Next by thread: Re: Illustrator 9 Duplicate Command
  • Index(es):
    • Date
    • Thread