Batch process ScreenCaptureToFile of all 36 layer states in my model

I just did a quick search: