Export (save as) jpg using layer name in Photoshop action
<p>is it possible to copy the current active layer name in Photoshop and use it as the file name for a 'Save As' command in a Photoshop action?</p>

<p>Export Layers to Files isn't suitable because I only want to save a single jpg at a particular point in the action, but because the action is recursive I need a way of changing the filename so that the resulting jpg isn't overwritten with each recursion.</p>

<p>Many thanks!</p>