Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Applescript: Removing Groups and Layers

$
0
0

This should be a simple task, but I still haven't figured out how to do it.

 

I have a set of page items, and the are contained in groups inside of layers inside of layer inside of layers.

How can I remove the layers easily?

I looked at the reference guide, and attached the screenshot where it explains how to use the "delete" command to remove containers of objects.

But I still dont' understand how to order the command correctly:

delete page item of layer?

delete layer of page item?

delete page item of layer of page item?

None of these work.

For now, I've just used an action, but it would be helpful if I could do it within a script.

 

Any help is appreciated.

Thanks,

 

Ben

Screen shot 2009-12-21 at 10.08.25 PM.png


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>