This site aims to be the ultimate resource for Adobe Illustrator(c) scripting. Here you will find regularly updated collection of free scripts for all your creative needs.

If you find yourself doing the same task again and again, or you have an idea how to optimise your  workflow – get in touch, and we will provide solution.

Delete empty layers

This script is designed to help you easily remove empty layers from your Adobe Illustrator document. Layers are an important organizational tool in Illustrator, but they can become cluttered with empty layers over time.

When you run the script, it checks all layers in your document for page items, which are the objects contained within each layer. If a layer has no page items, it is considered empty and added to an array for removal.