Using Adobe Generator - YouTube
tldr; for those who design layout mockups in Photoshop, layers (and groups) can be automatically exported without having to make slices, copy/paste into new documents, etc.. Just rename the layer with some optional criteria (.jpg, .png8, .png24, quality settings...