Recording Delete Hidden Layers in an Action (Illustrator)
I have a series of Illustrator AI files, some with hidden layers that I need to delete.
I can use the Delete Hidden Layers command within the Layers panel to remove them all, manually.
However, this command is not recordable as an Action.
I can record "Unlock All Layers." (Many of my layers are also locked.) In the Actions panel, it shows as:
>Show:
Unlock All Layers
When I try to record "Delete Hidden Layers," it's recorded in the Actions panel as:
>Show:
Name:
This step of the action just creates a new Layer (and prompts me to name it).
I've also tried "Insert Menu Item" from the Actions panel, but it appears menu items from panels are not included in that option.
Is it really just impossible to perform this menu function without resorting to writing code?
Why are so many of Illustrator's commands and menu items not actionable?
