A script to render out all the layer buttons separate?

Is there a script out there that will cause blender to render out a movie for each of the layer buttons, one at a time. ( I have a bunch of elements on different layers and I would like to render each one out in separate passes so I have control of each element (Adding blurs, ect) I plan on compositing them back together later. So…anybody know of a script that will run on a mac that will render off each layer as separate movie files?
Thanks

-Trev

I don’t know of the existence of such a script, but it’s really easy. Here is an example python script that does what you wish. It’s extremely basic, because I just wrote it 5 minutes ago, but it does what you describe.

PS: why don’t you just do it by hand? activate one layer, render animation, activate the next layer, render animation …