Re: Illustrator 9 Duplicate Command
Re: Illustrator 9 Duplicate Command
- Subject: Re: Illustrator 9 Duplicate Command
- From: Simon Topliss <email@hidden>
- Date: Fri, 28 Sep 2001 09:00:29 +0100
Hi Shane,
I was hoping you'd reply. According to the manual the duplicate command
should work on layers. The annoying thing is that it doesn't work in
Illustrator 10 either. I suppose it's a bug. I'll report it to the beta
site.
Thanks anyway.
Simon
On 27/9/01 11:54 pm, "Shane Stanley" <email@hidden> wrote:
>
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