pageItems is listed as a property of a Layer and if it is <1 you could assume there are no items on that Layer.
Did you try searching?
By way of a simple Google Search of:http://www.google.com/#q=illustrator%20script%20delete%20empty%20layershttp://illustrator script delete empty layers
The very first link retruned from Google:
Hope it is helpful for your efforts. ;-)
Ok I feel really dumb now. Yes that was exactly what I was looking for. I searched through the forum here but never bothered to check with my friend Google.
Thanks for the link.
You're welcome, I think a reference(s) to that script is even referenced on the forum. No need to feel dumb however. Google is your friend, until they are your enemy of course. ;-)
Google is your friend, until they are your enemy of course. ;-)
yeah, when they rule the world with all those Robots they're building
You mean the drone that is loitering outside your window?