Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


'Export layers to files' is not working with artboards. Any suggestions?

Community Beginner ,
Jul 11, 2021 Jul 11, 2021

Copy link to clipboard

Copied

Hello,

In the paste I've made extensive use of the 'Export Layers to files' script. It works well, and saves a lot of time.

 

But I am now trying to use on a PSD file that has two artboards.

 

I have hidden Artboard 1. I have made visible the layers I wish to export from Artboard 2. The issue is the when I do the export, it is creating images that are not in the dimensions of Artboard 2, but instead in the dimensions of the total area of Artboard 1 and 2. I am guessing this is because when the Artboard feature is in use, the underlying canvas dimensions are actually the total area taken by both artboards, and the space between them, etc. And I am guessing the script is not set up to handle this. It seems it doesn't diferentiate between the underlying canvas size and the artboard dimensions.

 

I've done a number of searches online, and was not able to find any information addressing this issue. Which was surprising, as I would have thought a lot of users of that script would be affected by this.

 

Is there any way to achieve something similar to 'Export Layers to Files' when using artboards?


Thanks very much,

 

James

TOPICS
Actions and scripting, How to, Import and export

Views

51

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 11, 2021 Jul 11, 2021

Copy link to clipboard

Copied

The Script states »Copyright 2007«, so Photoshop Artboards didn’t even exist when it was created. 

You can try to amend the Script or create a new one altogether to meet your needs. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 12, 2021 Jul 12, 2021

Copy link to clipboard

Copied

You should probably try the File menu > Artboards to Files... script or another script specifically created to work with artboards.

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 12, 2021 Jul 12, 2021

Copy link to clipboard

Copied

@Stephen_A_Marsh Thanks. I had tried that, but I wasn't able to get it to do anything more than export the top most visible layer in each artboard (or in the one artboard I was trying to export from).

Unfortunately I know nothing about the scripting language Photoshop uses, so I'm not in a position to start modifying scripts.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 12, 2021 Jul 12, 2021

Copy link to clipboard

Copied

LATEST

»Unfortunately I know nothing about the scripting language Photoshop uses«

It’s JavaScript, apparently a fairly old version, though. 

 

If you need help you can start a new thread and ask for it or if you want to pay for a custom solution you could try over on Photoshop Scripting Services for example.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines