Illustrator : Change the order of layer

Hi
I tried to change the order of a layer in illustrator.
“move layer “XX” to beginning of current document”
But it doesn’t work
Any idea will be great
Thanks
Chris

Probably, ‘beginning of document’ means the top of page 1, which doesn’t really apply to a layer. Try something like this:

[format]move layer 2 of current document to before layer 1 of current document [/format]

Hi Mockman.
What a shame ! That’s so easy. I was looking around (try many versions) and didn’t find the solution. Sometime, it’s so simple that you mised it
That’s great ! Thanks a lot
Regards
Chris

Glad it worked. If you haven’t already, you should look for the appropriate Illustrator applescript guide. They’re fairly extensive.