Re: Illustrator 9 Duplicate Command
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