
Please note: This script no longer works. Please use Matthew Ericson’s MultiExporter Script instead.
So, I had an Illustrator file with 49 icons, each on a different layer. I put up a question on twitter, asking whether you can export each layer as a PNG, just like Fireworks would do. Within a hour this script was written and boom! All 49 icons output as PNG in one go, cropped to the artboard size!
If this is something you happen to need too, just download the script and pop it in your Adobe Illustrator>Presets>Scripts folder. Big thanks and multiple pints of Guinness must go to Jack Westbrook for helping me out with this one!
(The image above shows all 49 icon layers - visible and selected)