Skip to main content
jackr50058388
Participating Frequently
February 13, 2019
Question

Exporting multiple Layer Comps/Artboards

  • February 13, 2019
  • 4 replies
  • 1184 views

Hi there!

 

I know you can export multiple layer comps in the export tab. But is there a way to do exactly this, but with all the different artboards i have set up in my photoshop file? As they all need to be different sized artboards but with the same image (web banners etc). Then one layer comp shows just the image, other one shows the text etc that sits on top of the image.

 

When i try to export the layer comps. It throws all the artboards onto one layer. So it becomes one big image, rather than it exporting all the artboards as a seperate file.

 

Thanks in advance!

4 replies

schroef
Inspiring
August 11, 2025

I know it's been a while, but this is also for future users. I've been combining the 2 scripts "layercomps to files" and "artboards to files" into one script. I've also fixed broken sections of the layercomps tonfiles, many file options are actually broken in that ancient script.

 

Laat week I've also added webp as an export option.

 

My version of the script allows you to export all layercomps of all artboards or one selected. It can also export only selected layercomps of the artboards.

 

You can find it here. https://github.com/schroef/Photoshop-Scripts

 

Here's a preview, it's an old preview. Still need to update this one

https://raw.githubusercontent.com/wiki/schroef/photoshop-scripts/images/layercomps-artboards-v125.jpg?v014092021

Participant
October 17, 2025

Is there any way that I can make the Layer change the location of the layer comp name and the artboard name in the export name? I need the art board names to be at the end of the exports file names.

Stephen Marsh
Community Expert
Community Expert
October 17, 2025

Can you paste in examples of the current filenames and examples of what you need them to be?

 

Either the script can be changed, or an Adobe Bridge Batch Rename can use regular expressions to change the filename pattern.

Participant
September 22, 2023

Hello, I need this also! I've seen some scripts on the internet doing just this, but the features are not so powerful.

Participant
April 30, 2019

Let's say I have a PSD with 10 art boards and inside this PSD i also have defined a number of layer comps. Is there any way to automatically export all art boards with the first comp settings (ideally adding the layer comp name to the name of the exported art boards), than switching to the second comp setting and again export all art boards until the end of layer comps? Do I describe this in an understandable way? Does anybody know, how to automatize it or who could write me a script to achieve this? Thanxalot    Sven

Bojan Živković11378569
Community Expert
Community Expert
February 13, 2019

You can export Artboards to Files from File > Export sub menu. If you are mixing Layer Comps and Artboards then I do not have idea how to accomplish that task. There are options to export Artboards and to export Layer Comps without offer to somehow mix both worlds.

It will be useful to upload screenshot with Layers panel and Layer Comps visible so we can examine what options you have.

jackr50058388
Participating Frequently
February 13, 2019

I see

I mean I have it set up so all you have to do is click the other layer comp (which hides the unwanted layers) Then you can export the artboards. Then one which shows them all then export them aswell. So it isnt too much more work. Just thought there might be a way to export them at once, as you can do either.. but not both at once!

Bojan Živković11378569
Community Expert
Community Expert
February 13, 2019

Can you please post screenshot with Layer Comps and Layers panel visible? It will be also useful to post image with actual result and to describe what are you expecting.